Explicit Content-type on scheduler.load

Hello!

First of all thank you for such a wonderful product. It really looks great and has very good documentation.

Recently I needed to integrate scheduler compenent with old ASP.NET forms and I choosed ScriptService as a connector. The problem is that ScriptService requires application/json as a content-type, and that makes a problem with a default setup.

What are my options ? Can I override somehow scheduler.load method or probably it’s possible to pass Content-type somewhere in the config ?

Thank you beforehand,

Aleksei

There is no separate config for the content type, you can modify it directly in code of the component

Locate

this.xmlDoc.setRequestHeader("X-Requested-With","XMLHttpRequest");

and replace with necessary header

Also, you can use any other ajax library which provides necessary content type to load data on client side. After that you can use scheduler.parse to load the data in a scheduler.