Author: imud | Posted on: 1/20/2009 8:05:53 AM | Views : 373

 Hi There,
I have faced a problem that went over my head for a couple of days and the problem is that ViewStates are loaded before any databind on the page's controls in a way that all viewstates are lost  , so I decided to bind data at control init event before loading ViewStates but surprisingly the control init is fired after the page load event is fired (and I think it's not correct ) after the viewstates are loaded and once again the viewstates are lost , so any suggests dealing with that case ? and how the control init is fired after the page load is fired ?
 
Note: I have solved the problem by simply applying viewstates at page_render event or render_childeren event but only I want to understand the case above 
Thanks
Mina Saad

 

 
...

Go to the complete details ...