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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MonthCalendar Date Mask

Thread ID:

Created:

Updated:

Platform:

Replies:

24621 Feb 8,2005 03:33 PM UTC Feb 8,2005 04:08 PM UTC WinForms 1
loading
Tags: GridControl
Chris Thompson
Asked On February 8, 2005 03:33 PM UTC

How can I mask the entry of a date in a MonthCalendar cell type on a griddataboundgrid? My users would like to type a date like 02122005 and have it masked as 02/12/2005. Currently it throws aa error if no sepatators are used.

Administrator [Syncfusion]
Replied On February 8, 2005 04:08 PM UTC

One possible solution is to handle the CurrentCellValidateString method and verify the text is valid with each keystroke. Here is a sample showing this method. The second option is to use our DateTimePicker in a cell and format it. Here is a sample showing this implementation.

CONFIRMATION

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.

Warning Icon 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.Close Icon

;