Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Metabuilders MasterPages and ViewState problem
Message
From
21/04/2005 12:40:54
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Metabuilders MasterPages and ViewState problem
Miscellaneous
Thread ID:
01007093
Message ID:
01007093
Views:
59
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
Reply
Map
View

Click here to load this message in the networking platform