P
paps
I need to programmatically change an ASCX control into a PlaceHolder during
PostBack.
When i change the PH control during PageLoad like :
MyCtrl = LoadControl(path);
PlaceHolder.Controls.Add(ctrl);
the PlaceHolder load the old ViewState information and the loaded control
isn't correct.
How can i solve this porblem ?
I've also tryied to clear view state of the PH but nothing happen
thanks
Paps
PostBack.
When i change the PH control during PageLoad like :
MyCtrl = LoadControl(path);
PlaceHolder.Controls.Add(ctrl);
the PlaceHolder load the old ViewState information and the loaded control
isn't correct.
How can i solve this porblem ?
I've also tryied to clear view state of the PH but nothing happen
thanks
Paps