View Single Post
 
Old August 3rd, 2006, 06:50 AM
vjeran vjeran is offline
Registered User
 
Join Date: Aug 2006
Location: Zagreb, Croatia, Croatia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi.. i got similar problems. I know only half-of solution
First things is page lifecycle:
http://msdn2.microsoft.com/en-us/library/ms178472.aspx
so.. in short what happens... every time page loads controls should be recreated in memory. After that they need to be turned to last state (which is saved in post back).
As i figured out best place in 1.1 for creating is OnInit. After that u shold do loading of view state into dynamicly created controls. All this should go before Page Load.

Vjeran
izrada web stranica
http://www.izradainternetstranica.com/