Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jerry T. on Oct 08, 2009 06:41
open dhtmlx forum
Scheduler - load from .NET app's business layer?

Is there a way to have the Scheduler load data from a .NET application's business access layer instead of thru the connector? I'd like to have it load from a method in my BAL in order to setup caching and exception logging following some standards we use throughout the app.

Thanks.
Answer posted by Stanislav (support) on Oct 08, 2009 06:47
Client side of scheduler loads just a plain xml data. Such data can be formed by any kind of server side logic, connectors just a ready to use solution, but you can use custom code as well. 

scheduler.loadXML("some.aspx");

Where some.aspx - any kind of custom script, which must output xml data for scheduler.
Answer posted on Oct 08, 2009 06:54

Hmm...interesting.  (thinking aloud...) So perhaps just a page that has content type of text/xml and does a response.write out of the data returned by my BAL?  Thanks for the reply. I'm going to look into this.

 

Jerry

 

Answer posted by Stanislav (support) on Oct 08, 2009 07:17
>>has content type of text/xml and does a response.write out of the data returned by my BAL?
Yes, it will be enough.
Format of xml is pretty simple
            http://www.dhtmlx.com/dhxdocs/doku.php?id=dhtmlxscheduler:server_side_integration