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

Client side binding - WebApi

3 Answers 71 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Aleksander
Top achievements
Rank 1
Aleksander asked on 22 Oct 2014, 07:54 AM
Hello,

I've noticed that some of your controls (like Scheduler) has gotten client side binding options via WebApi.

Does the Gantt controller also have this?
Will it get it in the near future?

Best regards
Aleksander Spro
Xledger - Senior Developer 

3 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 23 Oct 2014, 12:29 PM
Hello,

RadGantt supports binding to WebApi out of the box. I've attached a sample website demonstrating how it can be set up.

Regards,
Bozhidar
Telerik
0
Aleksander
Top achievements
Rank 1
answered on 24 Oct 2014, 06:12 AM
Thank you for the quick reply.

I also wondered if it is possible to have input parameter for GetTasks() like scheduler has:
public IEnumerable<AppointmentData> GetAppointments(string schedulerInfo)

And how to pass this parameter.
0
Accepted
Bozhidar
Telerik team
answered on 24 Oct 2014, 06:48 AM
Hi,

Unlike the Scheduler, where this parameter is used to specify the time period for which the appointments are requested, the Gantt always requests all tasks, so such parameter is not sent by the control.

Regards,
Bozhidar
Telerik
Tags
Gantt
Asked by
Aleksander
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Aleksander
Top achievements
Rank 1
Share this question
or