Click here to Skip to main content
15,902,846 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to retain dynamically created linkbutton after postback
Posted

You need to get an understanding of viewstate. Have a read in the link below:

http://msdn.microsoft.com/en-us/library/ms972976.aspx[^]
 
Share this answer
 
When using dynamically created controls, you take the responsibility to re-create them on every postback (if needed). Usually this is done in page's OnInit overload, if you want ASP.NET to automatically parse control's values.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900