Scheduler MVC Recurrence Validation

4 posts, 1 answers
  1. ICT
    ICT avatar
    6 posts
    Member since:
    Oct 2017

    Posted 01 Nov 2017 Link to this post

    I am absolutely new to Kendo and I am developing an Event Scheduler in MVC. The problem I'm trying to solve is to validate an recurrence and displaying in the form of an alert/notification message, the date/time of the slots that are occupied i. The slots that passes validation should be saved.  Could someone point me in the right direction.

    Thanks 

    Phil

  2. Nencho
    Admin
    Nencho avatar
    1880 posts

    Posted 03 Nov 2017 Link to this post

    Hello,

    Could you please elaborate a bit more on the exact scenario and the validate an recurrence and displaying in the form of an alert/notification message, the date/time of the slots that are occupied i. The slots that passes validation should be saved   in particular. Do you intend to copy the events from some source and insert only the ones that are in a specific timeframe, or you need to restrict the insert of the events that does not met this timeframe in a user interaction point of view?

    Regards,
    Nencho
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. ICT
    ICT avatar
    6 posts
    Member since:
    Oct 2017

    Posted 05 Nov 2017 in reply to Nencho Link to this post

    Hi Hencho,

     

    Thanks for getting beck to me. I'm looking solely from a user interaction view. When a user creates a booking with a recurrence, only slots without clashes with other bookings will be saved. Slots that clash with other bookings should be displayed to the user so they can make alternative bookings. I've looked at server side validation and I'm wondering if there is a client side solution. I'm developing in MVC.

     

    Cheers.

  4. Answer
    Nencho
    Admin
    Nencho avatar
    1880 posts

    Posted 07 Nov 2017 Link to this post

    Hello,

    We have a demo in our demos site, where this functionality is demonstrated:

    http://demos.telerik.com/kendo-ui/scheduler/restriction

    In the source code of the demo, you can observe how the insertation of overlapping appointments is restricted. The drag&drop operations are also verified.

    Regards,
    Nencho
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top