Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Compression > Page size INCREASES if using Telerik.Web.UI.RadHiddenFieldPageStateCompression

Not answered Page size INCREASES if using Telerik.Web.UI.RadHiddenFieldPageStateCompression

Feed from this thread
  • James avatar

    Posted on Jan 31, 2011 (permalink)

    HI.

    I have been using the radcompression to compress viewstate for a while on an intranet based app. As the number of users has grown quite significantly the use of  RadSessionPageStateCompression is now causing problems - IIS seems to be recycling the app pool A LOT.

    I looked at using instead but this actually increases the size of the page in our test environment (IIS 6 running without IIS compression). I have not tried it on the live system which is IIS7 WITH IIS inbuild compression turned on for dynamic pages.

    if i remove the browser file the page is 127k, with RadHiddenFieldPageStateCompression it is 138k!


    can someone please advise if this is an issue with the adapter?

    ALso if anyone has any good suggestions on how to use Telerik.Web.UI.RadSessionPageStateCompression, but is able to handle 100ish concurrent users without causing teh app pool to reclycle frequently that would be very helpful too.

    thanks

    james

    Reply

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Feb 3, 2011 (permalink)

    Hello James,

    Please try enabling the RadCompression using the following help topic and remove the browser file settings you have previously set.
    Let me know if this makes any difference.


    Regards,
    Maria Ilieva
    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.

    Reply

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Feb 3, 2011 (permalink)

    Hello James,

    Please try enabling the RadCompression using the following help topic and remove the browser file settings you have previously set.
    Let me know if this makes any difference.


    Regards,
    Maria Ilieva
    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.

    Reply

  • James avatar

    Posted on Feb 3, 2011 (permalink)

    we are using the browser file to enable viewstate compression, which greatly reduces the size of the page. we wouldnt want to get rid of that functionality.

    Can the viewstate compression be turned on without the broser file?

    Reply

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Feb 8, 2011 (permalink)

    Hi James,

    By enabling the compression using the previously provided help topic the viewstate compression will be correctly enabled. Please gives this suggestion a try and let me know if it works.


    All the best,
    Maria Ilieva
    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.

    Reply

  • James avatar

    Posted on Feb 9, 2011 (permalink)

    Sorry if i'm missing something, but the only mention of how to enable viewstate compression in the link is to use the browser file, but you are telling me to remove the browser file.

    I am a bit confused.

    Reply

  • Maria Ilieva Maria Ilieva admin's avatar

    Posted on Feb 11, 2011 (permalink)

    Hi James,

    Excuse my previous misunderstanding.

    The answer I has provided was regards to enable simple RadCompression without such for the ViewState.
    In your case you could try enable the compression for particular pages using the RadCompressionSettings attribute on the page in question:
    C#
    [RadCompressionSettings(HttpCompression = CompressionType.ViewState)]  
    public partial class _Default : System.Web.UI.Page  
    {  
       ...  
    }





    Best wishes,
    Maria Ilieva
    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.

    Reply

  • Christian Surieux Master avatar

    Posted on Feb 11, 2011 (permalink)

    Hello,

    I have the same prioblem, could you make clear if with .net 4 and last Telerik version we DO NOT have to use the .browser file and the control adapter to have our viewwstate compressed, we simply have to set an attribute to the Page class
    [RadCompressionSettings(HttpCompression = CompressionType.ViewState)] 


    How to trace server side that the wiewstate is compressed on each call, ajax or not ?

    Thanks
    CS

    Reply

  • Christian Surieux Master avatar

    Posted on Feb 11, 2011 (permalink)

    Little problem
    CompressionType does not contains  CompressionType.ViewState) using 2010.3.1317 ??????

    Reply

  • James avatar

    Posted on Feb 11, 2011 (permalink)

    download fiddler2 - it allows yo uto see the actual size of the pages as they are downloaded.

    turn the compression off to see the normal size, then compare it after turning compression on.

    Reply

  • Christian Surieux Master avatar

    Posted on Feb 11, 2011 (permalink)

    I kwow Fiddler but I want to trace on my production site to check that every request is correctly compressed, I won't use Fiddler for this.
    Anyway thanks.
    CS

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Compression > Page size INCREASES if using Telerik.Web.UI.RadHiddenFieldPageStateCompression