[C#/DateInputSetting] Multiple dateformats for a dateinputsettning

2 posts, 1 answers
  1. Michiel
    Michiel avatar
    12 posts
    Member since:
    Feb 2011

    Posted 20 Jul 2011 Link to this post

    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
  2. Answer
    Vasil avatar
    1640 posts

    Posted 25 Jul 2011 Link to this post

    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.

    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!

Back to Top