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

Disabling RadSkinManager EnableViewState does not work

1 Answer 29 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
tomekm asked on 05 May 2011, 12:57 PM

I use RadSkinManager :

 <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Default" EnableViewState="false" ShowChooser="false" />

I tried to reduce my pages' size so I am disabling ViewState on controls. I tried disabling RadSkinManager viewstate but it does not work

Here are viewstate size stats:

Control Id    Type    ViewState Size

ctl00$ctl00$ContentPlaceHolder1$RadSkinManager1 Telerik.Web.UI.RadSkinManager 0
ctl00$ctl00$ContentPlaceHolder1$SkinChooser Telerik.Web.UI.RadComboBox 912
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$Header Telerik.Web.UI.RadComboBoxHeaderFooterControl 48
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$Footer Telerik.Web.UI.RadComboBoxHeaderFooterControl 48
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i0 Telerik.Web.UI.RadComboBoxItem 60
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i1 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i2 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i3 Telerik.Web.UI.RadComboBoxItem 56
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i4 Telerik.Web.UI.RadComboBoxItem 72
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i5 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i6 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i7 Telerik.Web.UI.RadComboBoxItem 72
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i8 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i9 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i10 Telerik.Web.UI.RadComboBoxItem 60
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i11 Telerik.Web.UI.RadComboBoxItem 60
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i12 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i13 Telerik.Web.UI.RadComboBoxItem 68

You see that   RadSkinManager viewstate is 0 but  some SkinChooser comboboxes. Why is that?

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 11 May 2011, 11:18 AM
Hi Rychu,

Disabling view-state for the skin manager will break its functionality - do note that with any control there is some minimal amount of data that should obligatorily be persisted in ViewState. 

the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question