Persisting user control values afer postback in asp.net
Posted
by
user557135
on Stack Overflow
See other posts from Stack Overflow
or by user557135
Published on 2010-12-30T14:50:26Z
Indexed on
2010/12/30
14:54 UTC
Read the original article
Hit count: 192
Hi, I have a few user controls which I add to the aspx form depending on the user's choice from a combo box. I have a user control which has a textbox in it and a getValue() method that returns the value of the textbox.
After user selects the related item I load the control and add to a panel using loadControl method. User enters some text. After a postback I want to keep the user control and the user input in the same state before .
Hope i could be clear. Thanks in advanced
© Stack Overflow or respective owner