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

Cache

3 Answers 82 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John Giblin
Top achievements
Rank 1
John Giblin asked on 17 Dec 2010, 05:52 PM
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.

3 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 22 Dec 2010, 03:58 PM
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.
0
John Giblin
Top achievements
Rank 1
answered on 22 Dec 2010, 04:02 PM
Thanks. I am going to try that

Btw  is there any plans on supporting partial caching.
0
Veli
Telerik team
answered on 23 Dec 2010, 09:26 AM
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.
Tags
Ajax
Asked by
John Giblin
Top achievements
Rank 1
Answers by
Veli
Telerik team
John Giblin
Top achievements
Rank 1
Share this question
or