Assign Null to Time Picker

2 posts, 0 answers
  1. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 18 Apr 2011 Link to this post

    Hi,

    My requirement is to show an empty time picker should be something like the file attached. My business property is of the type Time Span and is bind ed to the control. I want the time picker to be blank and the user should be able to enter the time when required, else this control should be Blank.

    Thanks and Regards,
    Syed Danish
  2. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 19 Apr 2011 Link to this post

    Hi,

    Found the solution, Take the business property as Nullable TimeSpan. Assign the property null, bind the control i.e the time picker to that property this will make the time picker empty as you require.

    Thanks and Regards,
    Syed Danish
  3. DevCraft banner
Back to Top