Hi,
I use several telerik asp.net ajax controls (latest version) in my project. These controls reside in several usercontrols which use Output Caching. I followed the help article to disable embedded scripts and to register them manually. This works fine and so far I have no problems. But, I'm facing some problems when I load the page with the cached user controls in an iframe where the hosting page, which includes this iframe, also uses telerik controls but with EmbeddedScripts = true. The AnimationScript causes an error "Too much recursion"
Maybe I'm not doing it correctly and you have some advice for me:
As said I use several telerik control in my project and I want to use caching on all controls. What I did:
I took all common scripts
1. Core.js,
2. jqueryplugins (I load the jquery.min.js from google cdn seperatley),
3. NavigationScripts
4. PopupScripts
5. Scrolling
6. Animation
7. Subsequently all the scripts for the controls I use (RadRotator, RadTagCloud, etc.)
and put them into ONE file and registered this file in my master page. Which works great when the page is called alone.
The reason why I load this page in an iframe is that the admin of the page can rearrange the usercontrols. This hosting page uses the RadMenu for example which is included normally (Embedded Scripts, no caching etc.). The problem with the "too much recursion" error is that all other scripts fail (rearranging the usercontrol relies heavily on javascript)
As said the normal scenario is to call the page standalone but not in an iframe. Unfortunatley I cannot change the EmbeddedScripts property when the page is loaded in an iframe.
I Hope I made a silly mistake and there is a quick fix.
Thanks in advance.
I use several telerik asp.net ajax controls (latest version) in my project. These controls reside in several usercontrols which use Output Caching. I followed the help article to disable embedded scripts and to register them manually. This works fine and so far I have no problems. But, I'm facing some problems when I load the page with the cached user controls in an iframe where the hosting page, which includes this iframe, also uses telerik controls but with EmbeddedScripts = true. The AnimationScript causes an error "Too much recursion"
}}return this.oldstep(e); // This is the error point
};
Maybe I'm not doing it correctly and you have some advice for me:
As said I use several telerik control in my project and I want to use caching on all controls. What I did:
I took all common scripts
1. Core.js,
2. jqueryplugins (I load the jquery.min.js from google cdn seperatley),
3. NavigationScripts
4. PopupScripts
5. Scrolling
6. Animation
7. Subsequently all the scripts for the controls I use (RadRotator, RadTagCloud, etc.)
and put them into ONE file and registered this file in my master page. Which works great when the page is called alone.
The reason why I load this page in an iframe is that the admin of the page can rearrange the usercontrols. This hosting page uses the RadMenu for example which is included normally (Embedded Scripts, no caching etc.). The problem with the "too much recursion" error is that all other scripts fail (rearranging the usercontrol relies heavily on javascript)
As said the normal scenario is to call the page standalone but not in an iframe. Unfortunatley I cannot change the EmbeddedScripts property when the page is loaded in an iframe.
I Hope I made a silly mistake and there is a quick fix.
Thanks in advance.