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

Date entry control keypress event handling

Hi I am trying to create a custom style,format date entry control (not picker) I m using maskedit(syncfusion)box and set the property to 99/99/9999, i want to validate the dates entry in Keypress event? I am planned to use selstart,seltext,sellength in deiciding what should be there in month column maximum for example 12. Any direction would be helpful Thanks in Advance Rajaraman

2 Replies

Davis Jebaraj March 5, 2003 04:40 PM UTC

Hi Rajaraman, Please see the attached sample that shows how you can handle the MaskCustomValidate event and provide your own logic for the date validation. Please let us know if you need any other information. Thanks, Davis

RA Rajaraman March 7, 2003 01:02 AM UTC

HI Do you have Vb.net version of this code? Regards Rajaraman
Loader.
Live Chat Icon For mobile
Up arrow icon