How to change RadDatePicker input ?

4 posts, 0 answers
  1. Devid
    Devid avatar
    18 posts
    Member since:
    Aug 2016

    Posted 13 Jan Link to this post

    Is it possible to change the way the RadDatePicker behaves when I write numbers ? 

    For example I want to write 0101 and Press Enter, the Date should be 01.01.2017 (if the year is not given the current year should be taken). Instead I get 03.01.0101.  Is it possible to reprogram this behavior ?

  2. Devid
    Devid avatar
    18 posts
    Member since:
    Aug 2016

    Posted 14 Jan in reply to Devid Link to this post

    I see that I can set the AllowParsingWithoutSeparator="True". But still if I write just the year, like 2017 I get a Error or if I write 010110 I get an Error, it is not recognized as 01.01.2010. So I have to overwrite the event ParseDateTimeValue. But the problem now is that I loose all the functionality and I have to write it myself, isn't there a way to keep the default functionality but add the functionality just to write the year ?
  3. Devid
    Devid avatar
    18 posts
    Member since:
    Aug 2016

    Posted 15 Jan Link to this post

    Now I have the functionality that I want. The last thing I need is the auto correction or validation.

    If the user inputs something like 30.02 a error should be shown or automatic correction to 28.02. Is this possible ?

     

  4. Devid
    Devid avatar
    18 posts
    Member since:
    Aug 2016

    Posted 17 Jan Link to this post

    Ok I figured it out all by myself. Thanks for nothing.

     

     

    ps. This forum sis really slow, so slow that it is bad. 

Back to Top