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

[Solved] Cant Switch between tabs

4 Answers 122 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.
mian
Top achievements
Rank 1
mian asked on 17 Aug 2011, 10:18 AM
Hi , 
working with MVC I have used RadTabStrip in ma page , by the following code 

@Html.Telerik().TabStrip().Name("customer-edit").Items(x =>
{
//x.Add().Text("Basic Details").Content(@Html.Partial("CustomerDetailsBasic", Model).ToHtmlString()).Selected(true);
    x.Add().Text("Edit").Content(@Html.Partial("CustomerEditableInfo", Model).ToHtmlString()).Selected(true);
    x.Add().Text("Work Orders").Content(@Html.Partial("CustomerWorkOrders", Model.WorkOrdersList).ToHtmlString());
})

Resulting page shows both tabs , but unable to switch ... 
i guess there is no problem with above code , but i dont know where to look to diagnose the problem . plz help me out .. 

Thanx ... 

4 Answers, 1 is accepted

Sort by
0
mian
Top achievements
Rank 1
answered on 17 Aug 2011, 11:30 AM
I just want a hint that where can be the problem , as it was working perfectly , but after a long time , with much changes in the code ..it stopped working ... plz just give me a path to move on ... 
Thanx ... 
0
nachid
Top achievements
Rank 1
answered on 17 Aug 2011, 11:43 AM
Usually, this means there is an error in one of the page you're trying to load
And usually, I easly solve this using firebug
0
mian
Top achievements
Rank 1
answered on 17 Aug 2011, 01:08 PM
Hi nachid , 
  thanx for your reply , Fire Bug is showing no error . page is loading perfectly . if I set the property Selected=True  with second tab then it selects second tab and shows me its content , and if with first tab then it selects the first tab and shows its content .. 
there is no problem in the contents data . Even the functionality inside the page (LIke Hyper Links , Buttons) working properly ... 
The only problem is that I cant switch between these tabs . I can view only the one for which i have set the property Selected=True .. 

I got a previous saved version of same project in which tabs working perfectly , but as this is a Team Project and after a long time I am watching it , many changes have occur here , New Jquery files have been added etc ,etc ... as far as the content of this page  (CustomerEdit Page) , they both are same in previous and current version .. I guess there must be some problem from outside . I dont know Where to look for it ...  
Any Suggestions ??
0
mian
Top achievements
Rank 1
answered on 18 Aug 2011, 06:59 AM
oh , so finally its working .... sad to know that i still dont know that what was creating that problem ... As we are working at Team Server , The Java Scripts Folder, I just got a last edited version (edited by me) and it started working ... There was some kinda problem in newly added js files ... but still I dont know that what exactly the problem was ... can anybody guess ??? 
Tags
TabStrip
Asked by
mian
Top achievements
Rank 1
Answers by
mian
Top achievements
Rank 1
nachid
Top achievements
Rank 1
Share this question
or