Use arrowkeys in RadPageView in Explorerbar mode

2 posts, 0 answers
  1. Hamid
    Hamid avatar
    1 posts
    Member since:
    Sep 2012

    Posted 22 Sep 2012 Link to this post

    I use RadPageView in ExplorerBar mode and at run time add to it pages and in pages add one RadRadScrollablePanel and add many buttons to RadScrollablePanel depending datas in database, all of this run correct and show all buttons correct, but when i want to move between buttons, when i press up key of arrowkeys, below button of selected button select and when press down key of arrowkeys, the top button of the selected button selected. how can i correct this? thanks many.
  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 26 Sep 2012 Link to this post

    Hello Hamid,

    Thank you for contacting us.

    When you use arrow keys to navigate between controls, the focus is moved in ascending order of their TabIndex properties. Therefore, you need to set this property of all the buttons in the order they are arranged. For example:
    for (int i = 0; i < 10; i++)
        RadButton button = new RadButton();
        button.Text = "Button " +i;
        button.TabIndex = i ;

    I hope you find this useful. Feel free to ask if you have any additional questions.

    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft R3 2016 release webinar banner
Back to Top