Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: To Scott: User Controls & Maintaining state


Message #1 by "Brandon Bohling" <brandon.bohling@i...> on Thu, 22 Mar 2001 21:38:36
I have an .ASCX file that gets loaded by a parent .ASPX page using 

Page.LoadControl. The .ASCX file contains a drop down list control that 

has maintainstate=true set. However on my .ASPX page that has other form 

elements that fire various events...when these events fire (and the page 

reloads) my form elements in the user control (.ASCX) get reset. I guess I 

have to programmatically maintain state for those elements. Suggestions!?



Thanks!



--Brandon

  Return to Index