Disabling RadSkinManager EnableViewState does not work

2 posts, 0 answers
  1. tomekm
    tomekm avatar
    38 posts
    Member since:
    Mar 2009

    Posted 05 May 2011 Link to this post

    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?

  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 11 May 2011 Link to this post

    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. 

    Regards,
    Tsvetoslav
    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top