1. John Giblin
    John Giblin avatar
    155 posts
    Member since:
    Jan 2006

    Posted 17 Dec 2010 Link to this post

    I am using the Ajaxmanager for a control.  When I added partial caching to the control, I got some issues with the Rad Controls.  See the attched file.  Is there any way around this.
  2. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 22 Dec 2010 Link to this post

    Hi John,

    Partial page caching is not automatically supported with Telerik RadControls. You need to manually reference the scripts and styles of controls you are using in cached user controls. You can refer to this knowledge base article explaining how to configure RadControls for partial page caching.

    Veli
    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. John Giblin
    John Giblin avatar
    155 posts
    Member since:
    Jan 2006

    Posted 22 Dec 2010 Link to this post

    Thanks. I am going to try that

    Btw  is there any plans on supporting partial caching.
  4. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 23 Dec 2010 Link to this post

    I don't believe so. The thing is, MS AJAX cannot load the scripts of IScriptControl objects when output caching is enabled. This means that, if you have a user control with output caching enabled inside an AJAX container, on the next AJAX postback, controls inside the user control will not be initialized if the user control itself is cached. This also means controls will not register their client scripts. MS AJAX expects that IScriptControl instances register their required scripts on every AJAX postback. Output caching violates this requirement and breaks the behavior of your controls. You do not get the client components of your script controls re-initialized on AJAX when a parent user control has been cached.

    Veli
    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.
Back to Top