23-degrees
asked on
ASP.NET Master Page View State Persistance Issue
I'm trying to use PageStatePersister solution (found at http://msdn.microsoft.com/en-us/library/aa479403.aspx) in order to decrease the size of page View State. I've added the code lines attached to this question on code behind of every page but it did not decreased the size of View State on any page. Where as on one of my other similar application this worked fine.
The only issue i can clue about is that the pages are specified with a Master page file and i'm unable to override the PageStatePersister for Master Page (the error comes with description like 'no suitable method found to override').
Please let me know how can i decrease Page View State size of an .aspx page which has a Master Page specified.
Regards.
The only issue i can clue about is that the pages are specified with a Master page file and i'm unable to override the PageStatePersister for Master Page (the error comes with description like 'no suitable method found to override').
Please let me know how can i decrease Page View State size of an .aspx page which has a Master Page specified.
Regards.
protected override PageStatePersister PageStatePersister
{
get { return new SessionPageStatePersister(this); }
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER