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

MonthView: got an exception “Stop running this script?” on IE7+

7 Answers 29 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Huy
Top achievements
Rank 1
Huy asked on 08 Jun 2012, 03:55 AM
Hi all,

In my application I use the RadScheduler control work on MVC3, of course it is not support on MVC3 I must using Web service to bind data. And everything works fine in all browser. But when there are very much items display in the month view( total items close to 700  per month and I set VisibleAppointmentsPerDay="100" to show all of them). In the Firefox 13, IE9, Chrome it should take a froze page in 10s to 20s to loading and drawing all items and when I navigate to next month it takes time longer than that. Especially, in the IE7+ it show a froze page and after that throw an error: Stop running scripts?.

I tried to research to solve that error and i found interesting thing:
http://blogs.msdn.com/b/jpsanders/archive/2008/09/23/a-script-on-this-page-is-causing-internet-explorer-to-run-slowly-if-it-continues-to-run-your-computer-may-become-unresponsive.aspx 
 
That Error script only show on IE7+ when there are more than 5 million line of scripts :(


I am appreciate any support to solve this issue, so far can I use lazy loading in the month view schedule to avoid the froze page???

7 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 11 Jun 2012, 08:59 AM
Hello Huy,

 
You can refer to this help topic where several recommendation regarding the same error are provided. 

Hope this will help you.

Greetings,
Plamen Zdravkov
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
Huy
Top achievements
Rank 1
answered on 11 Jun 2012, 10:17 AM

Hi Plamen,

I tried to follow the solution in your link bellow but the issue is still not solved.

pls, any other idea...

Thanks
Huy.
0
Plamen
Telerik team
answered on 12 Jun 2012, 09:11 AM
Hello Huy,

 
This exception is a known general issue in IE7 that is caused by a slow executing of large amount of scripts in the browser as it is described here. You can also review this forum thread where similar issue have been discussed.

Hope this will be helpful.

Kind regards,
Plamen Zdravkov
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
Huy
Top achievements
Rank 1
answered on 13 Jun 2012, 04:21 AM

Thank Plamen for your support, that solution was resolved my issue however it mean I have to require IE7++ user must be fixed your IE browser before use our system.

So it would better if we have the solution to improve the Scheduler control that display a lager amount of appointments in the month view. In the our system we only use that control to display all appointment(month view, week view) and do not use any associate resource on from it (AllowEdit="false"  AllowInsert="false" EnableAdvancedForm="false" EnableResourceEditing="false") however it still load data slowly.

Thanks,
Huy.
0
Plamen
Telerik team
answered on 14 Jun 2012, 10:28 AM
Hello Huy,

This behavior is caused by the large amount of appointments that have to be loaded at the same time in order to make the WebService binding work properly. The last thing I can think of that may improve the behavior in this scenario is to set the AppointmentStyleMode="Simple" property of RadScheduler. If it doesn't help this scenario will appear to be an expected browser limitation of our control. Please excuse us for that in advance.

Kind regards,
Plamen Zdravkov
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
Huy
Top achievements
Rank 1
answered on 18 Jun 2012, 09:39 AM
Thank Plamen, I tried follow your idea so it did not help. So, It is the browser limitation of the RadScheduler control.
0
Plamen
Telerik team
answered on 18 Jun 2012, 11:48 AM
Hi Huy,

 
Thank you for you feedback and your concern with RadControls.

All the best,
Plamen Zdravkov
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.
Tags
Scheduler
Asked by
Huy
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Huy
Top achievements
Rank 1
Share this question
or