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

lost skin after long idle

1 Answer 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 17 Jun 2010, 02:39 PM
I encountered a strange problem for my working project. I have a menu on the top of the page using custom theme. But if I the page is set idle for 20 minutes it will log out which is correct. However if I log back on, the menu will lost the style and shows as hyperlinks. Also I will receive a error message "Microsoft JScript runtime error: Sys.ScriptLoadFailedException: The script  could not be loaded." If I refresh the page, then everything will be fine. Does anyone had similar problem and I really appreciate if you can help me to solve this.

Anthony

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 23 Jun 2010, 10:58 AM
Hi Anthony,

You can experience this problem after an application restart. The titlebar and border images are loaded from the embedded resources in the Telerik.Web.UI.dll, and have dynamic urls. When the application is restarted, the web browser is trying to load the old invalid paths to the embedded resources, and not the newly generated ones.

You can easily fix this browser caching problem, by registering the skins and scripts from a CDN server or the external skins and scripts of the control which have fixed paths.

Detailed information how to register scripts and skins using CDN is available in the following blog post:
CDN Support – RadControls for ASP.NET AJAX
Tutorial on how to register external skin is available in the Appearance section of the documentation for each control.

Regards,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Anthony
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or