Completed
Last Updated: 20 Feb 2018 13:46 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 16 Jun 2017 11:57
Category: Scheduler/Reminder
Type: Bug Report
3
FIX. RadScheduler - NoNullAllowedException is thrown when adding a new appointment although the entered data is valid
Please refer to the attached gif file and sample project.

Workaround: remove the database restrictions and validate the data in the edit dialog before submitting the new appointment data.
2 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 20 Feb 2018 13:46
Hello Kevin,

I would like to note that this item has already been addressed. Feel free to upgrade in order to benefit from the fix. 

As to the workaround, in order to remove the database restrictions, it is necessary to uncheck the "Allow Nulls" field in the respective table in the SQL server. You can create a custom EditAppointmentDialog and override its ValidateInput method where you can validate the data in the respective controls on the form. The following help article demonstrates how to replace the default edit dialog with a custom one: https://docs.telerik.com/devtools/winforms/scheduler/dialogs/editappointmentdialog
kevin
Posted on: 28 Aug 2017 18:03
How to remove the database restriction and validate the data?