We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

clientside isValid for DropDownCalendarControl

Is there a client side equivalent for the property isValid on the DropDownCalendarControl?

3 Replies

RS Rajarajeswari S Syncfusion Team August 8, 2007 11:31 AM UTC

Hi,

The 'isValid' property of the DropDown Calendar Control is for Check if the text is valid for this position based on the mask. There is no equivalent Client side property for isValid. But you can customize the format of the TextBox using 'CustomFormat' attribute. Please refer the following code which illustrates this:

Format="CustomString">

Also please refer to the sample in the following link:

http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/F63795/main.htm

Please let me know if you have any further queries.

Regards,
S.Rajarajeswari



KG Kathy Gray August 13, 2007 08:30 AM UTC

The sample you reference has the following in the control: ClientSideOnFocusIn = "GetDetails('OnFocus', this)", but I can't find the function GetDetails. It doesn't seem to be in any of the files in the zip file.

What would be the clientside call to get the date that was entered?


MW Melba Winshia Syncfusion Team August 15, 2007 08:17 AM UTC

Hi Kathy,

We regret for the inconvenience caused.

By mistaken, the function GetDetails has been added and it is not necessary for this sample. Here is the correct sample:

http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/F63795_1/main.htm

Please let me know if you have any other questions.

Thanks,
Melba

Loader.
Live Chat Icon For mobile
Up arrow icon