I have TextBox(multi-line) and Labelin UpdatePanelwhich I update using javascript__doPostBack(upEditReminder,id);
I then set both the text Labeland TextBoxthe current DateTime.
protected void upReminder_Onload(object sender, EventArgs e)
{
lbTest.Text = DateTime.Now.ToString();
tbReminder.Text = DateTime.Now.ToString();
The problem is that it is Labelupdated, but the TextBoxdate is updated only once, when the page loads, but not when it is fired __doPostBack(upEditReminder,id);. I can’t understand what the problem is.
I also tried textarea runat="server", but still have the same problem.
Your help is greatly appreciated.
source
share