Javascript stops working [Recurring events, gridview]


I’ve got an MVC4 application where I add recurring events. Everything goes well until I add the gridview (with only a textfield) and then add a recurring event.

My browser’s javascript stops working and this is the message:

[i]A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.

Script: /Scripts/dhtmlxScheduler/ext/dhtmlxscheduler_recurring.js:27[/i]

Anyone knows what the issue could be?

Thanks in advance.

grid view displays all events by default, so endless series of recurring events causes infinite loop.
Try limiting displayed events range: scheduler.createGridView({ name:"grid", fields:[...], from: new Date(),//from now to: Date(), 1, "year")//to one year ahead });