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

Setting selected tab server side not removing hidden css class

2 Answers 120 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 07 Nov 2012, 08:10 PM
I've got a TabStrip that is generated dynamically server side.  With this, all the tabs start out disabled and I have a Next/Previous button setup so that as you click Next, it enables the next tab and selects it.

As I click the Next button, it does not seem the show any contents for the tab which was odd.  But, as I go through, the selection of the tabs seems to work fine.  If I click on a tab to jump to it after it's been enabled, I see the contents just fine. ( TabClick Event ).

So, I took a look and during inspection, all of my content is on the page, but it looks like the server side selection ( tab.Selected = true ) isn't removing the class="rmpHiddenView" from the tab, so it's never visible.

Thoughts?

2 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 12 Nov 2012, 04:10 PM
Hi Richard,

I have performed some test, regarding the desired  scenario, but I was unable to replicate the experienced problem. Therefor, I would like to ask you to elaborate a bit more on your scenario. In addition, here you could find our online demo, where a similar functionality is implemented. Please, note that the PageView associated with the RadTab should be added at the PageViewCreated server side event.

Greetings,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Guillermo
Top achievements
Rank 1
answered on 14 Apr 2015, 09:57 PM
Hello, I followed the demos and always in my tabstrip multipage pageview the class = rmpHiddenView is added and the controls that I have placed on each pageview not appear
Tags
TabStrip
Asked by
Richard
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Guillermo
Top achievements
Rank 1
Share this question
or