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

Appointment is invalid: Start time must be before the End time

1 Answer 149 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ranjan
Top achievements
Rank 1
Ranjan asked on 04 Jun 2012, 02:40 PM
Hello,
If an user uploaded wrong appointment(start time is greater than End time) then how we will handle this on our web page. It is showing Error page. How we bypass these appointment.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 Jun 2012, 03:11 PM
Hi Ranjan,

How do you populate RadScheduler? With server-side binding (as opposed to Web Service binding) there is a built-in validation that prevents users from inserting invalid Start and End values. You can test this with the online demos.

With Web Service binding, however, there is no client-side validation and an error will occur if you attempt to insert an appointment whose End time is before its Start time.


All the best,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Ranjan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or