I have several RadWindows on a page and although ViewState is off for the whole site (and even for the RadWindow) it is still generating quite a bit of viewstate.
Can viewstate be fully turned off for this control?
1 Answer, 1 is accepted
0
Tervel
Telerik team
answered on 27 May 2008, 01:17 PM
Hi jude,
Is it possible that you are using RadWindow "Classic", rather than RadWindow for AJAX?
I am asking this, as in RadWindow "Classic" there is some content (e.g. the RadWindowManager alert/prompt/confirm implementations as well as the minimized RadWindow state) that are passed around in hidden fields (which affects the overall size of the HTTP request).
In case that you are using RadWindow "Classic", my suggestion is to set EnableStandardPopups = "false" to your RadWindowManager declaration.
In case you are indeed using RadWindow for AJAX, then it is unclear what might be causing the increased ViewState. RadWindow (and RadWindowManager) is yet another server-side control that obeys all the rules of the framework, so turning off the ViewState will certainly work for them. In addition, the two controls store very little content in the ViewState anyway. In case you are not able to resolve the issue, and you still believe that the increased ViewState comes from RadWindow, please send us a working project with some details for us to examine. Once we have things working on our end we will be able to determine the reason what causes the ViewState to increase and get back to you with an explanation.