This is a migrated thread and some comments may be shown as answers.

Compression Module

1 Answer 122 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex Tushinsky
Top achievements
Rank 2
Alex Tushinsky asked on 15 Mar 2009, 12:26 AM
It seems I've uncovered a bug in the compression module, or I may be doing something wrong.

It seems that when you use it to compress ViewState, it fails in the following scenario:

Main page, compression module enabled to compress viewstate (I actually have not enabled it to compress the viewstate, but its doing it anyway, without the browser file).  On that page, a button opens a RadWindow, which calls another page.  When the RadWindow is closed, the main page returns a javascript error saying that the ViewState doesn't match.  This makes sense because the second page in the RadWindow modified the variable that's storing the compressed viewstate, and now they don't line up.  This seems to be the case in both modes, hidden variable and session.

Is there any solution to this, or am I doing something wrong?

Thanks in advance,
Alex T



1 Answer, 1 is accepted

Sort by
0
Alex Tushinsky
Top achievements
Rank 2
answered on 15 Mar 2009, 03:38 AM
Nevermind... I figured out the problem.  Its actually not related to the Compression Module, but has to do with the RadWindow control.  I came across this other post in the forums, which lead me to the fix: http://www.telerik.com/community/forums/aspnet-ajax/window/failed-to-load-viewstate-after-closing-radwindow.aspx#590631

Alex
Tags
General Discussions
Asked by
Alex Tushinsky
Top achievements
Rank 2
Answers by
Alex Tushinsky
Top achievements
Rank 2
Share this question
or