dynamically addnig controls and viewstate

"Smotritsky, Alex" <[email protected]> Fri, 20 Jul 2007 14:06:22 -0600
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
I'm adding some controls to a webform in a click event handler. Since I
do this on click I don't think I can do it in page load or init. I'm
finding that these dynamically added controls are not saved in
ViewState. Are there any work arounds for this? I'm thinking of putting
them in session state.

 

 


===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com