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

[Solved] Tab Strip : More than Three Tabs ...

3 Answers 66 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mohamad
Top achievements
Rank 1
Mohamad asked on 30 Jun 2011, 03:54 PM
Hello every one
i'm now using demo version of Telerik MVC
my problem is when i add more than tree tabs in tabStrip , other tabs go to new row of tabstrip , whats the proble ?
here is the code :

  <% 
    Html.Telerik().TabStrip()
        .Name("MainTabStrip")
        .HighlightPath (true)
  
        .Items(items =>
        {
                 items.Add().Text("Tab1")
                           .LoadContentFrom("ReportViewer", "Personel")
                           .ImageUrl (Url.Content ("../Content/Images/pdf.png"));
                     items.Add().Text("Tab2")
                         .LoadContentFrom("Index", "Personel");
   items.Add().Text("Tab3")
                         .LoadContentFrom("Index", "Personel");
   items.Add().Text("Tab4")
                         .LoadContentFrom("Index", "Personel");
  
  
                           
        })
          
        .Render(); 
%>

Tab4 goes to new line , how can i disable this behavior ?
thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 30 Jun 2011, 04:33 PM
Hi Mohamad,

As you can see in our online demos, there is no problem in having more tabs on a single line:

http://demos.telerik.com/aspnet-mvc/tabstrip

Please check your page layout and styles wih Firebug.

Best wishes,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Mohamad
Top achievements
Rank 1
answered on 30 Jun 2011, 05:47 PM
Hello , Thanks for your attention
but i have problem yet
how it is possible to have this problem ?
is'nt it because of demo version ?
 
0
Mohamad
Top achievements
Rank 1
answered on 30 Jun 2011, 11:52 PM
Hi
finally I found the solution !
you were right , the problem was from my css style , here is the source :

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
    width: 100px;
}

i just removed the width attribute ! and everythings worked fine ;)

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

Thank you
Tags
TabStrip
Asked by
Mohamad
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Mohamad
Top achievements
Rank 1
Share this question
or