Problems loading Mobile dhtmlxScheduler in MVC4

I am having trouble loading scheduler events in .NET MVC 4, I am returning json object from the server but it is not loading the events, here is code snippet

 var event = {
        id: '',
        start_date: '',
        end_date: '',
        text: '',
        details: ''
    };

    var model = { event: [] };
    $.ajax({
        type: "POST",
        url: ['@Url.Action](mailto:'@Url.Action)("CalendarEvents")', // add Mobile directory on Dev and Prod
            dataType: "json",
            data: (model),
            error: function (xhr) {
                //alert(xhr.responseText);
                alert("Critical Error!. Failed to call the server.");

            },
            success: function (data, jqXHR) {

                // There is no problem with the validation
                if (data.noResult) {
                    alert("no events loaded");
                    return;
                }
                else {
                    //data is not valid display error message
                    model = data.events;
                   
                    $$("scheduler").parse(model, "json");

                }

            }

        });

Also, I tried another way to load from the server using dhtmlx.dll helper
scheduler.EnableDataprocessor = true;
scheduler.config.serverLists = {};
$$(“scheduler”).load("/calendar/Data", “json”);

where Data function in the controller is
Public Function Data() As ContentResult

    Dim data__1 = New SchedulerAjaxData(New List(Of CalendarEvent)() From { _
     New CalendarEvent() With { _
          .id = 1, _
        .start_date = New DateTime(2011, 9, 3, 6, 0, 0), _
          .end_date = New DateTime(2011, 9, 3, 8, 0, 0), _
          .text = "Sample Event" _
     }, _
     New CalendarEvent() With { _
          .id = 2, _
          .start_date = New DateTime(2011, 9, 5, 9, 0, 0), _
          .end_date = New DateTime(2011, 9, 5, 12, 0, 0), _
      .text = "New Event" _
     }, _
     New CalendarEvent() With { _
          .id = 3, _
          .text = "Multiday Event", _
          .start_date = New DateTime(2012, 9, 3, 10, 0, 0), _
          .end_date = New DateTime(2012, 9, 10, 12, 0, 0) _
     } _
 })
    Return data__1
    ' Return _data
End Function

please advise me on how to get these events loaded, I need to get this working before I decide on buying the full license.

Thanks

a) please be sure that you parameter of parse command is an array of objects
b) what is the format of data in json ? Be sure that it is the same as default format of mobile scheduler ( or adjust expected date format through configuration options )

Yes it is sending an array of objects, maybe the problem with the date, the date is sent in this format “11/9/2011”, do you have a sample how to change expected format?

default format is m/d/y, if you are using the different one, you can set it through

scheduler.config.xml_date = “%d/%m/%Y %H:%i”,

Thank you very much for your help, I got busy with other stuff so I didn’t get a chance to try this, however I was able to load the events in the list view but they didn’t load in the mini calendar (month view), are there any other configuration I need to change?
I changed item_date format but still that didn’t help, here is the configuration I tried and didn’t work so far
scheduler.config.item_date = “%m/%d/%y”;
scheduler.config.xml_date = “%m/%d/%y”;
scheduler.config.form_date = “%m/%d/%y”;
scheduler.config.event_date = “%m/%d/%y”;

Please provide an example of the event object that you try to load into the scheduler.

If issue still occurs - please provide any kind of sample or demo link, where problem can be reconstructed.

Thanks, I got this working, but now I want to know how to load the scheduler inside container, I want to show the page header and footer.

I answered here:
viewtopic.php?f=22&t=33025&start=0