Home / Community & Support / Knowledge Base / RadControls for ASP.NET and ASP.NET AJAX / General, Installation, Licensing / Internet Explorer hangs or becomes slow when using RadControls Q2 2006 or later/RadControls for ASP.NET AJAX

Internet Explorer hangs or becomes slow when using RadControls Q2 2006 or later/RadControls for ASP.NET AJAX

Article Info

Rating: 4

 

Article information

Article relates to

RadControls Q2 2006 or later
RadControls for ASP.NET AJAX

Created by

Stephen, Telerik

Last modified

May 19, 2008

Last modified by

Veskoni, Telerik


 
PROBLEM

IE 6 / IE7 hangs, becomes non-responsive, or suffers significant delays on initial/subsequent page loads when the page contains one or more products from the RadControls Q2 2006 release or later/RadControls for ASP.NET AJAX. The problem does not appear on IE7 nor on Gecko-based browsers.

DESCRIPTION
This side effect is most probably related to webresource caching under .NET2 - when your website is in debug mode (<compilation debug="true" /> in web.config) files that are streamed by webresource.axd are not cached by the browser. Thus the web resources, which are essential part of each Telerik control's client-side functionality, are requested each time on page refresh, thus causing slowdown in performance and/or even browser crashing.

After the Q2 2006 release of RadControls for ASP.NET/RadControls for ASP.NET AJAX, Telerik started using web resources for its .NET2/.NET3 versions and the RadControls js files (part of the web resources) are registered via WebResource.axd. This feature was introduced for simpler installation, easier deployment, and hassle-free upgrade process. However when application debugging is enabled every WebResource.axd's response caching is set to "private", thus preventing the browser from caching the page. For instance, if you are using RadToolBar, RadGrid, RadMenu and RadTreeView in a page, large amount of javascript has to be downloaded upon every user request.

SOLUTION
There are two possible resolutions:
  1. Make sure that the debug option for your site is disabled (<compilation debug="false" /> inside the web.config file).
  2. Scott Gu's blog describes how to edit the machine.config file to override the debug attribute on production servers.
     

Comments

  • rkligman , Apr 4, 2007

    This is a KEY factor in reload speed. I had a couple of Comboboxes, 1 small grid and a list of items. It would take about 10 seconds to load and reload. This tip now puts the load time probably about the same but the reload is instant. This item should be highlighted somewhere!

  • asarshad , Jul 2, 2007

    hi. i have this problem ( slow performance ) when i upload my site to the server. i have no problem in my local machine but very slow loading time on the internet !!

  • Telerik Admin , Jul 4, 2007

    Check whether you use the latest version of our controls (Q1 2007 SP2) and that you have disabled the compilation mode when deploying your web site. If this does not help start a support ticket and provide live url to examine the behavior and give you more definite answer.

  • Eric Moreau , Sep 7, 2007

    I was having this problem yet with the latest version (Q1 2007) and I figured that it was because I was having style="position: absolute" attribute on my body tag.

  • cem , Nov 8, 2007

    i had this problem q1 2007(Demo) in ie 7.0 and i changed web config then it resolved. it didnt appear in firefox

  • Ole , May 30, 2008

    This problem also appear in IE7 as opposed to what is stated in the article. The trick did it!!

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.