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

change orientation clientside

1 Answer 110 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Matt DiPietro
Top achievements
Rank 1
Matt DiPietro asked on 03 Oct 2014, 03:34 PM
Has anyone figured out a way to change the orientation of a rad tabstrip from vertical to horizontal from javascript?  I'm trying to change the orientation if the width of the window is less than 800px and would like for it to be responsive to the size of the window changing.

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 06 Oct 2014, 08:52 AM
Hello Matt,

You can change the orientation of the RadTabStrip by two steps:
  1. removing CSS classes for the horizontal orientation: RadTabStrip and  RadTabStripTop_[Skin] or RadTabStripBottom_[Skin]
  2. adding CSS classes for the vertical orientation: RadTabStripVertical and RadTabStripLeft_[Skin] or RadTabStripRIght_[Skin]. Please, find a sample project in the attachment.

Regards,

Magdalena
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.

 
Tags
TabStrip
Asked by
Matt DiPietro
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or