Disable manual input and only allow pop-up selection?

4 posts, 0 answers
  1. Michael Malone
    Michael Malone avatar
    68 posts
    Member since:
    May 2010

    Posted 18 Jun 2015 Link to this post

    How can I disable the user from manually entering values with the keyboard? Selections should only come from the pop-up values. 
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 19 Jun 2015 Link to this post

    Hello,

    You can use the ReadOnly property of the DateInput component to achieve the desired functionality.

    Hope this helps.

    Regards,
    Maria Ilieva
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael Malone
    Michael Malone avatar
    68 posts
    Member since:
    May 2010

    Posted 19 Jun 2015 in reply to Maria Ilieva Link to this post

    I'm sorry, I told you wrong - this is the RadTimePicker, not the RadDateTimePicker. I tried setting RadTimePicker.DateInput.ReadOnly = true in my RadTimePicker but it disabled the popup too. Any ideas?
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 24 Jun 2015 Link to this post

    Hi Michael,

    Try setting the markup like this:
    <telerik:RadTimePicker runat="server" DateInput-ReadOnly="true" ID="RadTimePicker1"></telerik:RadTimePicker>


    Regards,
    Maria Ilieva
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top