change orientation clientside

2 posts, 0 answers
  1. Matt DiPietro
    Matt DiPietro avatar
    23 posts
    Member since:
    Nov 2009

    Posted 03 Oct 2014 Link to this post

    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.
  2. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 06 Oct 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top