Introduction to Scheduler .Net

Introduction to Scheduler .Net

Scheduler .Net is a library that has released to help .NET developers initialize and configure dhtmlxScheduler on the server-side backend without dealing with the client-side at all. It's a C# wrapper for JavaScript dhtmlxScheduler and mostly intended for .NET MVC applications.

How to use the library?

A simple application implementing scheduler, as any usual MVC .NET app, consists of 3 main parts:

  • Model
  • View
  • Controller

Model and View definitions contain usual stuff, but Controller requires specific comments.

Generally, Controller contains 3 actions:

  1. The first one initializes scheduler and specifies its configuration. Usually named as 'Index'. Returns a view.
  2. The second answers for data loading. Usually named as 'Data'. Returns events.
  3. The third contains CRUD logic and answers for saving data changes. Usually named as 'Save'. Returns server-side response with one of the following statuses:
    • update
    • insert
    • delete
    • invalid
    • error

Before you start developing, we recommend to read the following chapters:


comments powered by Disqus