Formatting input and display with RadDateInput

2 posts, 0 answers
  1. Tom Renfro
    Tom Renfro avatar
    2 posts
    Member since:
    Mar 2007

    Posted 25 Aug 2011 Link to this post

    I'm trying to add a control to a web page that allows the user to enter date values in a variety of ways, hoping the control will display in the correct format.  I currently use a date type in another product that automatically formats the input to the correct value.  Example:  if the user types in 05052005, the control should convert the value to 5/5/2005, conversely if the user enters 05/05/2005, the control should convert to 5/5/2005.

    Any ideas or help is welcomed.
  2. Tom Renfro
    Tom Renfro avatar
    2 posts
    Member since:
    Mar 2007

    Posted 25 Aug 2011 Link to this post

    I found what was wrong.

    The property for MinDate was set too high.  I was entering a valid date lower than the default value.

    Also, I had DateFormat and DisplayDateFormat set to M/d/yyyy, and when entering a date within the minimum and maximum values, it works beautifully.

    Thanks.
Back to Top