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.

DateTimePickerAdv question

Thread ID:

Created:

Updated:

Platform:

Replies:

57734 Mar 9,2007 09:10 AM Mar 9,2007 12:58 PM Windows Forms 1
loading
Tags: Tools
Srdjan
Asked On March 9, 2007 09:10 AM

Hi.

I need to support fast editing for my users because they are entering large amounts of data. In case of dates they expect to enter just numbers ie: 090307 (ddmmyy) or 09032007 (ddmmyyyy). There should be no extra keys involved during editing. Control would format date during validation by removing leading zeroes and checking is date invalid.

Can this be done with this control? Any suggestion would be appreciated.

Thanks in advance.

Murugan [Syncfusion]
Replied On March 9, 2007 12:58 PM

Hi Srdjan,

Thank you for using Syncfusion products.

This could be achieved by setting AutoForwarding property of the DateTimeAdc control. This accepts the day as input and automatically forward to Month and Year fields. Here is the code snippet

this.dateTimePickerAdv2.AutoForwarding = true;

Please refer to this code snippet above and let me know if I missed anything.

Regards,
Murugan P.S

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.

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.

;