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

validation in radscheduler appointment dialog without closing the dialog box.

1 Answer 109 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 20 Mar 2017, 08:04 PM

How to keep the appointment creation dialog box open when validating the entries. So if I leave the subject (or start, end time) blank, I will like to show a message box and KEEP THE APPOINTMENT DIALOG OPEN.

 

All the events I have created on radschedulerview, fire after the appointment dialog closes.

 

Events like  

radScheduler1_AppointmentCreating

radScheduler1_AppointmentSaving

    'radScheduler1_AppointmentCreated', 

 

all fire AFTER the dialog closes. I need to not close the appointment dialog when the subject etc are left blank.

 

Thanks

 

Help!

 

Robin

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 21 Mar 2017, 12:20 PM
Hello David,

You could check the ScheduleView Custom Appointment and Validation example in WPF Demos application  (or its Silverlight counterpart here) . The example demonstrates how you could validate the fields inside the EditAppointmentDialog by using the IDataErrorInfo interface.  

Please examine it and if you have any questions, let us know.

Regards,
Yana
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ScheduleView
Asked by
David
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or