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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

"Intuitive" input in DateTimeEdit

Thread ID:

Created:

Updated:

Platform:

Replies:

123248 Mar 1,2016 08:07 AM UTC Mar 3,2016 11:48 AM UTC WPF 3
loading
Tags: DateTimeEdit
Atlante Dev Team
Asked On March 1, 2016 08:07 AM UTC

Hi, 

I am using the Datetimeedit component and I have a little question.

My DateTimeEdit has a custom pattern to display only hours and minutes (HH:mm) and I try to retrieve a behavior I had with a previous winform component. 

When I do a '915' input, I would like to get '9:15' in my DateTimeEdit, but I get '915:00' that become '00:00' because of the pattern.

Is there a way to get this behavior ? Maybe I have to use an other component such as SfMaskedEdit or something else?

Thank you for the answer,

Regards,

Marvin

Durga Rajan [Syncfusion]
Replied On March 2, 2016 12:32 PM UTC

Hi Marvin,

Thank you for contacting Syncfusion Support

We suspect that you are using CanEdit of DateTimeEdit as true from your side. So that the typed text "915"(without
time separators) is considered as invalid and reset to 00:00. We suggest you to set CanEdit as false and use the
TAB key or Navigation arrows for navigating to next input field if single digit is entered. We have prepared a
sample for the same and you can download it from the following link:

Sample Link:
Sample


Please let us know if you need further assistance on this.

Regards,
Durga S

Atlante Dev Team
Replied On March 3, 2016 08:05 AM UTC

Hi,

Thank you for the answer. That is the solution we will use.

Regards,

Marvin

Victory Jessie Selvam D [Syncfusion]
Replied On March 3, 2016 11:48 AM UTC

Hi Marvin,

Thank you for your update.

Please let us know if you need any other assistance.

Regards,
Jessie

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

;