Raddatepicker not validating

posted by | Leave a comment

Hello, I have a Rad Date Time Picker control that I would like to validate.

Right now if I enter junk into the field (like 'asdfasdf'), the control will alert me that there is an issue by displaying a warning image and changing the color to red.

I'm assuming because 2014-05-0 is an invalid date, and then you type the last "5" and hit the bug. The date picker would use this invalid date that it assigned to the model (variable named 'base Date') as the starting point for creating a new date. By checking for this condition before using the date as a baseline, the problem is avoided.

I just added a is Na N(base Date) at the appropriate place. diff --git a/ui-bootstrap-tpls-0.13.0b/ui-bootstrap-tpls-0.13.0index 6119661..dac366f 100644 --- a/ui-bootstrap-tpls-0.13.0b/[email protected]@ -781,7 781,7 @@ angular.module('ui.bootstrap.dateparser', []) if ( results && results.length ) { var fields, dt; - if (base Date) { if (base Date && !

I believe this is also causing a more common type of error.

If you completely clear the date and then type 2014-05-05 it will not work correctly.

The Display Value Format property of the Rad Date Picker controls allows you to format the selection of the date.

It takes a string input to format the display of the date.

raddatepicker not validating-51

The date picker would use this invalid date that it assigned to the model (variable named 'base Date') as the starting point for creating a new date. By checking for this condition before using the date as a baseline, the problem is avoided.

(correct) When I change the date writing directly in textbox the ...

When I change the date using the specific button the event Selected Date Changed is raised.

In this article we will discuss the Telerik Rad Date Picker control.

You can the download Telerik Rad Control for Windows Phone from here.

Leave a Reply

Virtual sex on video chat