Javascript syntax error after saving and deleting events

Hello,

I’m having trouble setting up the scheduler as per these instructions:

dhtmlx.com/blog/?p=639

I keep on getting this message when I try to save or delete an event:

Unhandled exception at line 11, column 311 in localhost:51993/Scripts/dhtmlxscheduler.js

0x800a139e - JavaScript runtime error: SyntaxError

This is the new version of the scheduler so I am at a loss as to how I can fix this. Can anybody help?

Many thanks!

Hello,
please provide some kind of demo (attached project would be ideal), so we could reproduce your issue.

Hi,

I’m having trouble uploading to the forum, so here is a link you can download from:

https://dl.dropboxusercontent.com/u/18260548/CarParkingCalendarMVC.zip

Many thanks for taking the time to look

Hi,
seems like you’ve specified incorrect class name of a Model in Save.aspx.
In the attached project it’s “scheduler.ActionResponseModel” :[code]<%@ Page Language=“C#” Inherits=“System.Web.Mvc.ViewPage<scheduler.ActionResponseModel>” ContentType=“text/xml”%>

[/code] While the model class is defined inside a different namespace and also inside a controller class. Here is a correct definition (you could also use a dynamic model type): [code]<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" ContentType="text/xml" %> [/code]