How to disable input

4 posts, 1 answers
  1. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 19 Feb 2010 Link to this post

    Hi ...
    How disable input the drop down of the calender.
    IsReadonly doesn't seem to prevent this.

    I want to lock the control...

    thanks again!!!!!!!!!!!!
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 23 Feb 2010 Link to this post

    Hi Jon The Nerd,

    Thank you for contacting us.

    Could you please be more specific what exactly you want to disable? Is it the drop down of the calendar, or the dates of the calendar, or something else? Sending us a screenshot with explanation will be very helpful.

    Looking forward to your reply.

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jon
    Jon avatar
    539 posts
    Member since:
    Apr 2004

    Posted 23 Feb 2010 Link to this post

    Hi..
    I want to disable the entire control.. so even the drop down calendar can't be accessed.. Currently you can access the calendar and select with READONLY = true;

    How can I also default the INPUT to a blank ?   When the control is loaded?  thanks again
  5. Answer
    Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 26 Feb 2010 Link to this post

    Hi Jon,

    Thank you for the question.

    To achieve that you have to edit the DatePicker in Blend Expression. There select the control, right-click on it and choose from the menu Edit Template->Edit a Copy. Blend will generate the style of the DatePicker. There in the popup, which holds the Calendar control, set the IsEnabled property to False. That will disable the accessing of the Calendar.

    Attached you will find a sample project in which that is illustrated.

    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