This is a migrated thread and some comments may be shown as answers.

[C#/DateInputSetting] Multiple dateformats for a dateinputsettning

1 Answer 42 Views
Input
This is a migrated thread and some comments may be shown as answers.
Michiel
Top achievements
Rank 1
Michiel asked on 20 Jul 2011, 10:45 AM
I have a control that loads textboxes, dropdowns, etc, automatically. It loads also textboxes with a dateinputsetting on it so it can validate for a valid date format. Only I have a slight problem with the dateinputsettings which requires to add multiple dateformats / displaydateformats. Is this even possible to add multiple dateformats / displaydateformats for a dateinputsetting?

Thank you in advance for the response.

Best regards,
Michiel Peeters

1 Answer, 1 is accepted

Sort by
0
Accepted
Vasil
Telerik team
answered on 25 Jul 2011, 11:55 AM
Hello Michiel,

Thank you for contacting us.

You can set only one DateFormat for the date inputs. However the DateInput will still try to parse the text in various of formats when the user enters is. The DateFormat is used for showing the parsed and preset date to the user in given format, but this not limits the user to enter the date in the same format when typing.

Greetings,
Vasil
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Input
Asked by
Michiel
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or