kingve
#1
Hi, I instance sheduler GPL V.3 in MVC 4, the CRUD function works perfectly but the method load doesn’t work properly…
I have this code in my View
scheduler.config.xml_date = "%m/%d/%Y %H:%i";
scheduler.init('test', new Date(), "month");
scheduler.load('@Url.Action("Data","Home")');
The scheduler read the action and view but don’t show anything in the calendar…
What a missing?
Thanks you for your help
My XML Data is well formated
try specifying ‘xml’ in your load method:
scheduler.load('@Url.Action("Data","Home")', 'xml');
kingve
#3
I understand that scheduler.load without parameters take to default xml data but I will try
You are using m/d/Y as date format, so 05/08/2015 in XML will be translated as 8 May 2015
If you are loading events for August, you need to change xml_date format or format of dates in XML.
kingve
#6
Work perfectly… Thanks
I change the format in the config.
scheduler.config.xml_date = "%d-%m-%Y %H:%i";