Masked Input - DateTime

3 posts, 0 answers
  1. Bhavesh
    Bhavesh avatar
    4 posts
    Member since:
    Apr 2011

    Posted 08 Aug 2011 Link to this post

    In a screen's add mode, I woiuld like the MakedDateTimeInput control to start displaying an empty text box.  Setting the text property to empty string or null doesnt' work.  Is there a way to get this behavior with the MaskedDateTimeInput control?
  2. Bhavesh
    Bhavesh avatar
    4 posts
    Member since:
    Apr 2011

    Posted 10 Aug 2011 Link to this post

    I was able to resolve/work around this by setting the fallback value to null.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 11 Aug 2011 Link to this post

    Hello Bhavesh,

     You can also bind the Value of the MaskedDateTimeInput to a Nullable DateTime property ( DateTime?) and set this property to null. Let us know if this satisfies you.

    Regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top