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

DateTimePicker : the "/" character

Hi! I come back here, because I already have a problem with my datetimepickeradv control. DateTimePickerAdv CustomFormat : dd/MM/yyyy autoforwarding=true Our users have to seize dates in our applications. some people always use the "/", and some doesn''t.... So I would like to permit all kind of seize! in fact, if I enter "12/12/2004", I want 12/12/2004 if I enter "12122004", I want 12/12/2004 if I enter "1/2/2004", I want 12/12/2004 if I enter "01/02/2004", I want 12/12/2004 with the last line, when I tape "01" the cursor goes automaticly to the month field. Then I tape "/", it goes to the year field.... So, How to disable the "/" in that case? (if the "/" is the first character taped in the field, I think) Thanks for your support and of course, thanks for your product!!!! Bye lobrys

2 Replies

AD Administrator Syncfusion Team September 13, 2004 03:12 AM UTC

Hi Lobrys, Sorry for the delay in responding. Currently it is not possible to get all the four combinations that you have listed, but I will contact the development team to request for a few changes to be made to the DateTimePicker so that this combination could be achieved. I will update you on the status of this issue at the earliest. Thank you for your patience. Best regards, Stephen. >Hi! > >I come back here, because I already have a problem with my datetimepickeradv control. > >DateTimePickerAdv >CustomFormat : dd/MM/yyyy >autoforwarding=true > >Our users have to seize dates in our applications. >some people always use the "/", and some doesn''t.... >So I would like to permit all kind of seize! > >in fact, >if I enter "12/12/2004", I want 12/12/2004 >if I enter "12122004", I want 12/12/2004 >if I enter "1/2/2004", I want 12/12/2004 >if I enter "01/02/2004", I want 12/12/2004 > >with the last line, when I tape "01" the cursor goes automaticly to the month field. Then I tape "/", it goes to the year field.... > >So, How to disable the "/" in that case? >(if the "/" is the first character taped in the field, I think) > > >Thanks for your support >and of course, thanks for your product!!!! > >Bye >lobrys > > > > >


LO Lobrys September 13, 2004 04:10 AM UTC

Thanks! Just for info, and I am sure you have corrected that, my 4 lines of exemple were bugged! What I wanted to say was : >if I enter "12/12/2004", I want 12/12/2004 >if I enter "12122004", I want 12/12/2004 >if I enter "1/2/2004", I want 01/02/2004 >if I enter "01/02/2004", I want 01/02/2004 Thanks again! Bye lobrys

Loader.
Up arrow icon