Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by surrounding on Nov 18, 2009 00:35
open dhtmlx forum
dhtmlxscheduler

I have create the .ashx file to return xml successfully.
in the .aspx code:
function init(){
scheduler.config.xml_date = "%Y-%m-%d %H:%i";

scheduler.config.first_hour = 4;
scheduler.locale.labels.section_location = "Location";
scheduler.locale.labels.section_Tags = "Tags";
scheduler.config.details_on_create = true;
scheduler.config.details_on_dblclick = true;


scheduler.init('scheduler_here', null, "day");
scheduler.setLoadMode("day");

scheduler.load("schedulerConnector.ashx" + "?uid=" + scheduler.uid());
var dp = new dataProcessor("schedulerConnector.ashx" + "?uid=" + scheduler.uid());

dp.init(scheduler);
}

when I run the .aspx, there is an alert box said that "stack overflow in line 3". I don't know how to fix it.
Answer posted by Alex (support) on Nov 18, 2009 01:35

Are you sure that the mentioned problem caused by using scheduler ? 

If you are, please provide the sample to recreate the issue. (the provided code looks correct).

Answer posted by Stanislav (support) on Nov 18, 2009 01:46
Be sure that server side code forms xml with data in specified format (scheduler.config.xml_date = "%Y-%m-%d %H:%i";) and start dates of events are lesser than end dates.