I just started using dhtmlxScheduler and I’m trying to pass in a custom variable (example xid) to be stored in the database when an event is created. I saw in another post to add the variable to the xml file but I haven’t been able to retrieve the variable when the event is created. I have all the normal functionality working (create, edit, delete); I just can’t figure out how to pass custom variables through dhtmlxScheduler to the script to save to the database. Is there something I need to do to add the custom variable to the event form? I’m using ASP.NET MVC 3.
Here is an example of my data xml file:
<data>
<event id="2">
<start_date><![CDATA[ 06/02/2011 10:00]]></start_date>
<end_date><![CDATA[ 06/02/2011 14:00]]></end_date>
<text><![CDATA[Available ]]></text>
<xid><![CDATA[1]]></xid>
</event>
<event id="3">
<start_date><![CDATA[ 06/04/2011 08:00]]></start_date>
<end_date><![CDATA[ 06/04/2011 12:00]]></end_date>
<text><![CDATA[Available]]></text>
<xid><![CDATA[1]]></xid>
</event>
</data>
Thanks in advance for any assistance.
- Jonathan