I have overridden the following methods:
in a class that my page derives from, so that the viewstate can be stored in DB.
Now, on page_load of my page, I am checking what control caused a postback & based on that I am forcing execution of 2 button click events in a row (by overloading those click events & calling them explicitely), but the behaviour I want is as if the execution of those 2 button click events went through the regular page life cycle.
Here is the sequence of events that happen in typical page life cycle & notice I want to alter behaviour at step 4 (on load):
2) LoadViewStateData (here the viewstate is loaded from my database using the overridden LoadPageStateFromPersistenceMedium)
Here, I would like to force execution of 2 button_click events based on whether a particular control posted back.
Now, when the imgBtnPrev5_Click() is executed, the viewstate is already loaded, so we are fine. But after execution of imgBtnPrev5_Click(), I would like to update the viewstate object in memory & then call the o
View Complete Post