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

Server Side Restrictions

1 Answer 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 01 Oct 2013, 06:38 PM
Is there a way (an api) to validate a resource against a date on the server side? I saw the Restrictions demo, but that shows how to handle restriction on the client side using JavaScript. I want to be able to find out if a resource is available at a given date on the server side. I can probably try to make sense of how data is being stored in database and then parse it, but was wondering with all the exceptions and recurrence rules in effect, there might already be something you guys have that I can reuse?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Oct 2013, 10:54 AM
Hello Aaron,

In short, there isn't. Nevertheless, I suppose that you want to prevent an event creation like in the aforementioned demo. If this is the case, assuming that the resources and events are accessible (atlest they should be) on the server, you can perform validation manually.

Regards,
Georgi Krustev
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
Aaron
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or