+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / How can I move ViewState to session?

How can I move ViewState to session?

2 posts, 0 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    Registered:
    16 Apr 2010
    06 Jun 2011
    Link to this post
    How can I move ViewState of all pages to the session?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    09 Jun 2011
    Link to this post
    Hi Bruno,

    Here is a good article that explains this

    http://professionalaspnet.com/archive/2006/12/09/Move-the-ViewState-to-Session-and-eliminate-page-bloat.aspx

    Each page has an option to turn off the ViewState for. All you need to do it go to Sitefinity > Pages, select a page, select Properties tab, expand More Options and you will find the checkbox there which states "Disable ViewState". Also you cannot disable the entire view state.

    Sitefinity itself does not work with session at all. If you are going to make some changes to the page object you have to inherit from the InternalPage class.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered