Posted
on Apr 6, 2010
(permalink)
Hi there,
I have followed the
RadCompression instructions for enabling the RadSessionPageStateCompression. Everything worked like charm in Q3 2009 but it stopped in Q1 2010. I can see a huge view state in my page and I have no idea what I did wrong.
So what are the possible reason for silently not using the RadSessionPageStateCompression adapter?
Thank you in advance,
Valery.
Reply
Answer
Rosen
Rosen
Posted
on Apr 6, 2010
(permalink)
Hi Valery,
I'm afraid that I'm not able to observe the behavior you have described. I have attached a small test page, please take a look, maybe I'm missing something obvious.
Also you should have in mind that by default SessionPageStatePersister (used internally by our state persister) does not store ControlState in the session. In order to force it, you should add the following settings to your web config.
Best wishes,
Rosen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items.
Reply
Posted
on Apr 6, 2010
(permalink)
Hello there,
That one solved my problem! I guess that is worth mentioning in the documentation. I am not sure why I observed a relatively smaller viewstate before (it may be because of switching from RadWindow to RadDock).
Thanks!
Valery.
Reply
Mark
Posted
on Nov 3, 2010
(permalink)
So with this setup you will still get something in the viewstate control? Is this the session variable id of the viewstate? or should the
viewstate value=""
this is what i get.
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPZwUPOGNkNGEzYjc0MzE3MTkya87SkBtiHWiKhU9aaqPbGM3i/Jc=" />
Reply
Iana Tsolova
Iana Tsolova
Posted
on Nov 9, 2010
(permalink)
Hi Mark,
Could you please try disabling an ASP.NET page ViewSate without using RadCompression at all and see if then you have the mentioned hidden field?
Greetings,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items
Reply
Mark
Posted
on Nov 15, 2010
(permalink)
I tried that but it still shows up
I used <%@ Page Title="" EnableViewState="false"...... for a single page.
I also set the same for the master page that this page belonged to.
Reply
Iana Tsolova
Iana Tsolova
Posted
on Nov 17, 2010
(permalink)
Hello Mark,
I think that this answers your questions. I assume you observed that with no RadControls on the page and in the application at all, when ViewState is disabled still a hidden field with name __VIEWSTATE is created/rendered. And that is why it persists when you use RadCompression as well.
Regards,
Iana
the Telerik team
Reply