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.
Unfortunately, activation email could not send to your email. Please try again.

Date entry control keypress event handling

Thread ID:





3061 Feb 27,2003 11:45 AM Mar 6,2003 08:02 PM Windows Forms 2
Tags: Tools
Asked On February 27, 2003 11:45 AM

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

Davis Jebaraj [Syncfusion]
Replied On March 5, 2003 11:40 AM

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

Replied On March 6, 2003 08:02 PM

HI Do you have Vb.net version of this code? Regards Rajaraman


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.