updatepanel problem or possible bug
Posted
by Woland
on Stack Overflow
See other posts from Stack Overflow
or by Woland
Published on 2010-03-19T12:37:17Z
Indexed on
2010/03/19
12:51 UTC
Read the original article
Hit count: 395
I have textbox and lable in update panel witch i refresh with javascript __doPostBack(upEditReminder,id);
then i set both label and textbox text to current datetime
protected void upReminder_Onload(object sender, EventArgs e)
{
lbTest.Text = DateTime.Now.ToString();
tbReminder.Text = DateTime.Now.ToString();
Problem is that lable is updated but textbox date is updated only once when the page is loaded but not when __doPostBack(upEditReminder,id); is triggered. I cant figure out whats the problem Your help is much appreciated
© Stack Overflow or respective owner