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

Loss of highlight on tab click

6 Answers 80 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 24 Dec 2008, 10:18 PM
Happy holidays one and all.

I've a behaviour that I cant get to the bottom of.

I've a 2 level tabstrip, and if I have a RadTabStrip_TabClick event the second level loose the highlighted style.

Any Ideas?

Andy

6 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Dec 2008, 08:09 AM
Hello Andy Green,

This seems to work as expected in our online example. What may be different in your case?

Sincerely yours,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andy Green
Top achievements
Rank 2
answered on 26 Dec 2008, 10:39 PM
Yes it strange, your link is the example i copied.

As its not a known problem it must be something I've done.

If it helps anyone track this down, there is no actual code in the event (I've rem'd it out) all I have is the event shell.

Andy
0
Andy Green
Top achievements
Rank 2
answered on 27 Dec 2008, 11:11 AM
I've tried several different skins (I was using a modifoed external one, but now have now tried internal ones) and what happens is this:

I click on the top level and this doesn't postback and retains it's position, if i hit a sub tab (with event stub) it does a postback but looses the focus, but if I remove the event stub the tab click doesn't postback and the tab retains focus.

SO the problem is loosing focus on postback.

Andy 
0
Paul
Telerik team
answered on 30 Dec 2008, 09:14 AM
Hello Andy,

It will be best if you can open a support ticket and send us a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Thanks beforehand for your patience and cooperation,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andy Green
Top achievements
Rank 2
answered on 17 Mar 2009, 09:55 AM
Hi all

I'm back on this now, it I left it in the hope it would go away, sometime they do, but not this one.

Its a lot to bundle up the project and send in, (but it looks more and more like I will have to, that said I have found the problem, in that it only happens if I have the event stub for thew tab click event:

    Protected Sub RadTabStrip_TabClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTabStripEventArgs) Handles RadTabStrip.TabClick

 

    End Sub

I loose the control does a postback and looses the clicked on tab, does anyone know what is going on before I submit a ticket.

Andy

0
Andy Green
Top achievements
Rank 2
answered on 17 Mar 2009, 11:05 AM
FOUND IT

How silly do I feel, I was refreshing the tab on each postback. As soon as I wrapped it in a Not IsPostback it worked.

On to the next bug now!!

Andy
Tags
TabStrip
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Andy Green
Top achievements
Rank 2
Paul
Telerik team
Share this question
or