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

[Solved] Loading Grid in TabStrip using LoadContentFrom Fails

1 Answer 34 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.
Mo
Top achievements
Rank 1
Mo asked on 17 Jul 2012, 12:01 PM

I have attached a sample which I DERIVED from below

http://www.telerik.com/community/code-library/aspnet-mvc/general/loading-grid-in-tabstrip-using-loadcontentfrom.aspx

My sample is different and shows a failure.  When run as is, tab 1 should should show bound data correctly in the view, while tab 2 will consistently show nothing....WHICH IS THE PROBLEM !!! 

Note that if line commented out in Home/index.aspx is uncommented, i.e.

//tabs.Add().Text("First").Content("Select the 'Grid' tab");

running the application and selecting tab 2 first will ALWAYS allow the application to run properly with BOTH TABS WORKING !!!  So the basic functionality of the code is easily verified.  With the above line uncommented, i.e. //tabs.Add().Text("First").Content("Select the 'Grid' tab"); selecting tab 1 first will SOMETIMES often allow the app to run with both tabs working....again...so far so good.....sometimes.

But with the above line commented out, i.e. //tabs.Add().Text("First").Content("Select the 'Grid' tab");, the app runs and defaults to the first tab and pressing the second tab NEVER produces data. 

How can it be changed so that both tabs will work producing data in the view when selected with the line //tabs.Add().Text("First").Content("Select the 'Grid' tab"); commented out ??

Tanx

1 Answer, 1 is accepted

Sort by
0
Mo
Top achievements
Rank 1
answered on 17 Jul 2012, 04:16 PM
I'm all set.

Tanx
Tags
TabStrip
Asked by
Mo
Top achievements
Rank 1
Answers by
Mo
Top achievements
Rank 1
Share this question
or