P
ProgramAnalyst
Hey all,
I have a label that gets its text from a DB. This text can be changed
on the page in a textbox and after the save button is clicked the new
text is updated in the DB and the page refreshes.
The problem: Even though in the page_load method the label's text is
being set to what is in the DB the text is still the old text. If u
refresh the page the text then updates. Why is this happening? The
label's viewstate is false and if I create a method that does the
exact same thing as page load it works for some of the labels (this
is affect all labels that get updated) but not for others.
Any ideas?
Thanks.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
I have a label that gets its text from a DB. This text can be changed
on the page in a textbox and after the save button is clicked the new
text is updated in the DB and the page refreshes.
The problem: Even though in the page_load method the label's text is
being set to what is in the DB the text is still the old text. If u
refresh the page the text then updates. Why is this happening? The
label's viewstate is false and if I create a method that does the
exact same thing as page load it works for some of the labels (this
is affect all labels that get updated) but not for others.
Any ideas?
Thanks.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*