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

Internet Explorer to runs slowly error

7 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 02 Aug 2011, 09:04 PM
We've been using Telerik Rad controls for a year now, and I always upgrade to the latest cut.

As of the recent Q2 2011 all upgrades we have done are conplaining  they keep getting "A script on this page is causing Internet Explorer to run slowly" error, this is on a busy grid with only about 300 records, the problems go away if the records don't exceed about 30.

Have you seen this from other users?

We have clients on a mix of iis6 & 7 and IE 6,7 & 8.

We are having to stop the upgrade rollout until we get this resolved.

I have tried many things from disabling the viewstate to extending the MaxScriptStatements to 10,000,000.

Andy

PS - just seen the same error on my development system running ie9 and 290 records.
PPS - If I remove the RadAjaxManager I stop getting the error, so its an AJAX thing.


7 Answers, 1 is accepted

Sort by
0
Andy Green
Top achievements
Rank 2
answered on 04 Aug 2011, 11:47 AM
I cant keep adding ps's.

I think the problem here is that I have the RadGrid AJAX'd, from the itemDataBound event I'm setting up different popups depending on 1. The data, 2. Which icon is clicked.

What it looks like is happening, is these are being set up as Ajax postbacks. There is no need for this as they only call popup modal windows.

What I cant seem to do is have the grid update on AJAX, but not have these itemDataBound events ajax'd.

Does this sound possible and how do I solve it.

One more thing thats driving me mad, I have a Timer refreshing the RadGrid, but it always does a full postback, any ideas?

Andy


0
Andy Green
Top achievements
Rank 2
answered on 06 Aug 2011, 05:11 PM
We also notice that ie memory usage increases with each refresh of the grid, does this help us.

I'll post a support ticket for this, as unusualy the forums aren't being answered as timely as thay were.

Andy
0
Pavlina
Telerik team
answered on 08 Aug 2011, 11:23 AM
Hello Andy,

You may take a look at the following articles for useful tips on the matter:
Top Performance page
http://www.telerik.com/help/aspnet-ajax/grid-overview.html(Chapter "Performance")
Optimizing client-side performance

Best wishes,
Pavlina
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
Asma
Top achievements
Rank 1
answered on 05 Jan 2012, 05:28 PM
I get the same error, if you have been able to resolve the issue please do let me know. Those links only assist in optimizing for a Combobox without checkboxes, I am having the same issue except with the select all checkbox in a dropdown that needs to autopostback. 
0
Pavlina
Telerik team
answered on 05 Jan 2012, 06:02 PM
Hello Asma,

We are not able to reproduce this error based on the provided information. Can you, please, consider sending us some runnable test project we can debug locally via support ticket? This will help us a lot trying to identify the cause of this issue.

Looking forward to your reply.


All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Asma
Top achievements
Rank 1
answered on 05 Jan 2012, 06:09 PM
Hey Pavlina, 

I have about 9 Telerik RadComboboxes on a page with CheckBoxes. After I have selected items from the first ComboBox I click a "Process" button which populates the next combobox with data from a database.

 I get the JavaScript error: 
"A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive. "

When I select "Check All" in the newly populated ComboBox, this ComboBox has over 3000 items in it. I would really appreciate it if you could help me resolve this issue. 

Thank You,
Asma
0
Andy Green
Top achievements
Rank 2
answered on 05 Jan 2012, 09:12 PM
This is the exact same error I was getting, and Telerik are as much use as a chocolate teapot with their replies, I'm glad it not just me, but feel for you.
The fix I stumbled across was to reduce the number of controls on a page. I had a masterpage with several Rad controls (Combo, Menu, Trees - nothing taxing) and a Rad Grid. this set up caused the javascript errors.

By moving the Grid into an iFrame the issue stopped. So not a fix as such but a work around.

Hope this helps.

Andy
Tags
General Discussions
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Andy Green
Top achievements
Rank 2
Pavlina
Telerik team
Asma
Top achievements
Rank 1
Share this question
or