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

Scheduler MVC Recurrence Validation

3 Answers 138 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ICT
Top achievements
Rank 1
ICT asked on 01 Nov 2017, 10:19 PM

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

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 03 Nov 2017, 02:10 PM
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.
0
ICT
Top achievements
Rank 1
answered on 06 Nov 2017, 01:16 AM

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.

0
Accepted
Nencho
Telerik team
answered on 07 Nov 2017, 01:23 PM
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.
Tags
Scheduler
Asked by
ICT
Top achievements
Rank 1
Answers by
Nencho
Telerik team
ICT
Top achievements
Rank 1
Share this question
or