Server Side Restrictions

2 posts, 0 answers
  1. Aaron
    Aaron avatar
    14 posts
    Member since:
    Jan 2012

    Posted 01 Oct 2013 Link to this post

    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?

  2. Georgi Krustev
    Georgi Krustev avatar
    3747 posts

    Posted 02 Oct 2013 Link to this post

    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.

    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top