Disable the handle focus when readonly

3 posts, 0 answers
  1. Abner
    Abner avatar
    10 posts
    Member since:
    Apr 2014

    Posted 07 May 2014 Link to this post

    Hi guys,

    I have been trying to disable focus in the handle when I press tab or shift tab, because my control is readonly, I cannot click that is working, but if I press tab from another control to slider the handle focus and i can use arrows up down left and right of my keyboard.

    I tried to set IsTabStop = true, but didn't work. I just want to ignore the control when press tab key going to the next control that is not readonly.

    Is that possible? Disable the handler when readonly.

    I attached a file that have 3 slider, notice that the control in the middle is readonly, but is focus when I pressed tab key.
  2. Abner
    Abner avatar
    10 posts
    Member since:
    Apr 2014

    Posted 07 May 2014 Link to this post

    I'm trying to do via codebehind.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 08 May 2014 Link to this post

    Hello Abner,

    From the provided snapshot I can only make assumptions how have you set the RadSlider to be as a read-only element.

    On my end using the following sample markup is working fine. The middle slider is disabled and focusing with the tab or shift+tab shortcuts does not allow further value changes by the user.

    <telerik:RadSlider runat="server"></telerik:RadSlider>
    <telerik:RadSlider runat="server" Enabled="false"></telerik:RadSlider>
    <telerik:RadSlider runat="server"></telerik:RadSlider>


    Regards,
    Ianko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top