Persisting dynamically loaded user controls in view state.

Posted by User_003 on Stack Overflow See other posts from Stack Overflow or by User_003
Published on 2010-05-13T22:39:19Z Indexed on 2010/05/13 22:44 UTC
Read the original article Hit count: 157

Filed under:
|
|

I am dynamically loading user control in Button Click event, since these user controls are dynamically loaded I have to recreate all previous user controls as well per click. My user control just has two textboxes for now, but I am not able to persist my inputs across postbacks. My ids are same everytime. I have enableViewstate ="true" in all controls all up to page level. Please adivce.

© Stack Overflow or respective owner

Related posts about usercontrols

Related posts about ASP.NET