This is a migrated thread and some comments may be shown as answers.

Cycling in TabItems

2 Answers 87 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Abdeali
Top achievements
Rank 1
Abdeali asked on 30 Apr 2015, 01:52 PM

Hello,

I have a telerik tabcontrol which has 5 TabItems. When I press RightArrow key i can navigate to one tab to other.

This way i reach to the last tab. Now if again i press RightArrow key i need to move back to first tab from where I started.(Cyclic behavior).

This is not happening currently.

Is there some property of telerik tabcontrol which can be use for doing so or we need to find some workaround?

Thanks & Regards,

Abdi

2 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Vandov
Telerik team
answered on 01 May 2015, 11:17 AM
Hello Abdi,

The keyboard navigation of the RadTabControl is not designed to be cycle out of the box and that is why there is no property you could set to make ti work. However you could use the PreviewKeyDownEvent of the RadTabControl and execute the custom logic there.

I have attached a sample project demonstrating the approach. Please take a loot at it and let us know if ti works for you.

I hope this information helps,

Kind regards,
Kiril Vandov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Abdeali
Top achievements
Rank 1
answered on 07 May 2015, 06:17 AM

Thanks. That does worked for me.

Abdi

Tags
TabControl
Asked by
Abdeali
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Abdeali
Top achievements
Rank 1
Share this question
or