Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Metabuilders MasterPages and ViewState problem
Message
De
21/04/2005 12:40:54
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Metabuilders MasterPages and ViewState problem
Divers
Thread ID:
01007093
Message ID:
01007093
Vues:
58
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
Fil
Voir

Click here to load this message in the networking platform