User should be able to enter the date

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

    Posted 15 Mar 2010 Link to this post

    Hi,

    How can I allow the user to enter the Date in the Date Picker even without selecting the Date from the Date Picker.

    Thanks and Regards,

    Syed Danish
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 17 Mar 2010 Link to this post

    Hi Syed Danish,

    You can enter a date directly when you type in the TextBox. In case you want to disable it you can set IsExanble = false.

    Kind regards,
    Kaloyan
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 19 Mar 2010 Link to this post

    Hi Kaloyan,

    I need a water mark text in the RadDatePicker control when the xaml is loaded and should disappear by replacing with the cursor on focus,So that the user can enter the date manually.

    Thanks and Regards,

    Syed Danish
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 23 Mar 2010 Link to this post

    Hi Syed Danish,

    Thank you for your question.

    You can use a RadMaskedTextBox in the template of the RadDatePicker. The MaskedTextBox has a property EmptyContent="" which will do that work exactly.
    Attached I am sending you a sample project in which is illustrated how to bind a MaskedTextBox to a DatePicker.

    Please feel free to contact us again if you need further assistance.

    All the best,
    Konstantina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top