Information générale
Titre:
Metabuilders MasterPages and ViewState problem
Hi,
Does anyone have any experience of the MasterPages implementation by metabuilders.com? It's free, easy to use and causing some interesting results!
The problem I have is with viewstate. On page post back some controls (HtmlControls as opposed to WebControls) are having their viewstate restored at an arbitory time which is consistant but part way through the processing of the page. I.e . in Page_Load() the controls viewstate has not been persisted, but in Control_Click() the
controls ViewState has been persisted! Whilst I can hack around this using Request.Form[], I have a couple of instances where the controls ViewState is restoring after Page_PreRender(), so no matter what I do the controls ViewState overrides it.
So does anyone know how .Net (1.1) controls this? And if there's anything I can do about it (aside from rewriting losts of controls, or ripping out the masterpages)? The problem is the viewstate on some (not all) HtmlControls restores part way through a page when it's posted back. Never on WebControls and only on postback. It's just plain Odd!
If anyone can shed light on this I'm very interested!
Thanks,
Steff
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement