Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving object in ViewState - newbie question
Message
From
09/11/2007 13:57:05
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01268007
Message ID:
01268057
Views:
15
I am a newbie at this too.. So simply setting the control's EnableViewState property to True has provided all the functionality I need. I think most, if not all web controls have a Protected method called SaveViewState. How do you want to use ViewState?

I am actually spending more time determining which controls can have EnableViewState set to False to reduce page size.

>>Hi Naomi,
>>
>>Check out
>>
>>http://msdn2.microsoft.com/en-us/library/ms972976.aspx
>>
>>Bruce
>>
>
>It's a great article, thanks. I would need to re-read it more thoroughly, but by the quick glance I could not find a simple example of creating a class, saving an object of this class to ViewState and restoring it back. This is what I'm looking for right now.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform