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

cancelling SelectionChange event

1 Answer 76 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Saravanan Thiruchabai
Top achievements
Rank 1
Saravanan Thiruchabai asked on 25 Sep 2012, 08:15 PM
How do I cancel a SelectionChange Event? Here is the scenario, on Selectionchange  selected date is validated for specific conditions and if the validation fails the date should be set back to previous date and not the user selected date.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 29 Sep 2012, 08:59 AM
Hi,

Cancelling the SelectionChange event is not possible. However, you could try using the BlackoutDates property of the RadDateTimePicker and remove the wrong dates, or you could implement you own parsing logic. You could find more information about the custom parsing in this help article:
http://www.telerik.com/help/silverlight/raddatetimepicker-how-to-implement-custom-parsing.html

Hope this helps.

Greetings,
Konstantina
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
DateTimePicker
Asked by
Saravanan Thiruchabai
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or