TabContainer flicker on tab mouse over

Last post 09-18-2007 2:52 AM by NNM. 4 replies.

Sort Posts:

  • TabContainer flicker on tab mouse over

    05-31-2007, 8:41 PM
    • Member
      403 point Member
    • djh
    • Member since 06-09-2006, 6:08 AM
    • Posts 68

    Hi,

    I am using the AJAX Control Toolkit and have a TabContainer with two TabPanels on an aspx/VB page.

    My problem is when I mouse over the tabs the page flickers.

    Putting the TabContainer in an UpdatePanel makes no difference.

    From what I have gathered this is due to the reloading of the tab images used by the 'ajax__tab_xp' CSS that is applied by default to the TabContainer.

    Can anyone suggest a way to prevent the flicker (other than changing the cache settings in IIS)?

    Apologies if this is a double up post (I looked and couldn't find any that answered the problem).

    Thanks in advance,
    David

     

  • Re: TabContainer flicker on tab mouse over

    06-06-2007, 4:26 AM
    • Member
      4 point Member
    • abgibbs
    • Member since 05-27-2007, 10:29 PM
    • Posts 2

    I have this problem too! I noticed, however, that the 'demo' Ajax Toolkit site doesn't have this problem. there must be a way to prevent this, looks terrible.

  • Re: TabContainer flicker on tab mouse over

    06-06-2007, 7:16 PM
    • Member
      403 point Member
    • djh
    • Member since 06-09-2006, 6:08 AM
    • Posts 68

    Hi abgibbs,

    I have not found a proper fix to this problem but this post http://forums.asp.net/t/1115791.aspx helped me to bang together a temporary hack fix.

    I basically rewrote the entire Tabs CSS file so that it was no longer using background:url(<%=WebResource("AjaxControlToolkit.Tabs.tab-hover-left.gif")%>) to populate the background images of each TabPanel.

    I made my own background images and imported them into my projects Images folder and now have background:url("./Images/TabIcon.gif") repeat-x ; in my StyleSheet.

    It doesn't look nearly as good as the real deal but at least it no longer has that horrific flicker.

    Hope this helps,
    David

     

     

  • Re: TabContainer flicker on tab mouse over

    06-06-2007, 8:04 PM
    • Participant
      1,863 point Participant
    • WishStar99
    • Member since 08-05-2006, 12:11 AM
    • VietNam
    • Posts 553

    I don't see any problem on my tabpanels when hovering over the tabs ...

    //---------------------------------------------//
    //------------------- Chloé ------------------//
    //---------------------------------------------//
  • Re: TabContainer flicker on tab mouse over

    09-18-2007, 2:52 AM
    • Participant
      1,398 point Participant
    • NNM
    • Member since 09-07-2006, 5:04 AM
    • Posts 542

    I've been using the tabcontainer a lot...

    And there's obviously something weird about it: if you move your mouse over the headers, very often the content of the active tabpanel will "jump". If you have some text inside you will see it suddenly wrap differently for a second, for example.

    I haven't found a way around it, but haven't really tried until now...

    But moving your mouse over the headers has an effect on the size of the active TabPanel.

    Validation Complete
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
    I'll always mark your post(s) as answer when it is!
Page 1 of 1 (5 items)