Yes i did try to compress viewstate by seeing the link provided by Srikanth....... Its giving the following compilation error when applied in MasterPage, since Treeview is in masterpage (root cause of viewstate size)
CS0115:
'Master_Pages_StudyMaterial.LoadPageStateFromPersistenceMedium()': no suitable method found to override
When i applied that on content page it reduces the viewstate size to almost 40%.
Do i need to override these two methods in every page.... Thats a lot of work i guess, since my Treeview contains many links.
rajesh sahar...
Member
225 Points
553 Posts
Re: will larger viewstate value reduces the page load time?
May 09, 2012 07:37 AM|LINK
Yes i did try to compress viewstate by seeing the link provided by Srikanth....... Its giving the following compilation error when applied in MasterPage, since Treeview is in masterpage (root cause of viewstate size)
CS0115: 'Master_Pages_StudyMaterial.LoadPageStateFromPersistenceMedium()': no suitable method found to override
When i applied that on content page it reduces the viewstate size to almost 40%.
Do i need to override these two methods in every page.... Thats a lot of work i guess, since my Treeview contains many links.
Thanks