Loss of highlight on tab click

7 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 24 Dec 2008 Link to this post

    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

  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 26 Dec 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 26 Dec 2008 Link to this post

    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
  5. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 27 Dec 2008 Link to this post

    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 
  6. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 30 Dec 2008 Link to this post

    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.
  7. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 17 Mar 2009 Link to this post

    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

  8. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 17 Mar 2009 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017