views:

836

answers:

3

Does the Multiview control contain the viewstate information for each of its views regardless of whether or not the view is currently visible?

A: 

I believe so, yes. It would be quite simple to confirm using a ViewState Decoder (google it, there are tools available from Fritz Onion or as FireFox plugins).

ssmith
A: 

I would have to assume that the viewstate contains information for each of a Multiview's views/controls. Otherwise, there's no way it would be able to keep track of the state of the controls in each view- unless you were using some sort of custom state management.

aweber1
+1  A: 

Yes it does, all the views are still there, just the inactive ones are hidden/disabled.

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.multiview_properties.aspx

naspinski