This is a migrated thread and some comments may be shown as answers.

Scheduler Timeline and WebService

1 Answer 15 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 21 Sep 2015, 12:02 AM

I set Scheduler to bind with a WebService (c#) like source below,

but WebService  need a date with parameter, how can do ?

and when click prev,next, and datepicher button, how rebind with correct parameter ?

 

 

dataSource: {

batch: true,
transport: {
read: {
url: "/WebServices/LessonsTimeGrid.ashx",
dataType: "json"
},

...

...

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 22 Sep 2015, 12:49 PM
Hi Marco,

You can either dynamically adjust the "url" option (it can be set to function) of the "read" operation to include the desired the date as additional parameter or by using the "data" option of the "read" operation. Please note however that binding the received additional parameters on the server side is not directly related to Kendo UI is a general programming knowledge. More information on the matter is available on various resources over the internet (e.g.: this thread at StackOverflow) .

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Marco
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or