CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/26/2006 2:27:34 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 38 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
superservo15
Asp.Net User
Tabstrip Image Flicker Problem4/26/2006 2:27:34 PM

0/0

Surprisingly I haven't found very much on this at all.

We have a tabstrip whose tabs are images.
Here is the client side code

&lt;ie:tabstrip id="TabPolicy" onclick="Tabstrip1_SelectedIndexChange" runat="server" AutoPostBack="True"</p> <p>&nbsp;&nbsp; &nbsp;NAME="Tabstrip1"&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Name" ID="name"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Coverage" ID="Coverage"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Premium" ID="Premium"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Financial" ID="Financial"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Tax" ID="Tax"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Underwriting" ID="Underwriting"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Claims" ID="Claims"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &nbsp;&lt;ie:Tab Text="Beneficiary" ID="Beneficiary"&gt;&lt;/ie:Tab&gt;</p> <p>&nbsp;&nbsp; &lt;/ie:tabstrip&gt;

 

and on the server side we are filling each tab object with the image as followed:

</p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Attributes.Add("onclick", "Tabstrip1_SelectedIndexChange();")</font></p> <p>&nbsp;</p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(0).Text = " "</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(0).SelectedImageUrl = CNFLibrary.ResourceManager.GetMessage("TabNameOpen", CompanyID)</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(0).HoverImageUrl = CNFLibrary.ResourceManager.GetMessage("TabNameOpen", CompanyID)</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(0).DefaultImageUrl = CNFLibrary.ResourceManager.GetMessage("TabNameClosed", CompanyID)</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(1).Text = ""</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(1).SelectedImageUrl = CNFLibrary.ResourceManager.GetMessage("TabCoverageOpen", CompanyID)</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(1).HoverImageUrl = CNFLibrary.ResourceManager.GetMessage("TabCoverageOpen", CompanyID)</font></p> <p><font size=2><font color=#0000ff>Me</font></font><font size=2>.TabPolicy.Items(1).DefaultImageUrl = CNFLibrary.ResourceManager.GetMessage("TabCoverageClosed", CompanyID)</font></p> <p></p> <p>etc...</p> <p>

Basically we have the image links stored in the DB for localization and the ResourceManager.GetMessage gets the links based on the Key passed in. URLs are all correct.

However, the first time we load the tabstrip it will flicker when you do the hover. How can i preload these images and call them so that the flicker will not happen.

Thanks in advance

superservo15
Asp.Net User
Re: Tabstrip Image Flicker Problem4/27/2006 2:45:52 PM

0/0

ok so I wish there was an edit button cause the code turned out all html-y.
Please I really hope someone has encountered this before. Thanks

Try it again

Here is the tabstrip

<ie:tabstrip id="TabPolicy" onclick="Tabstrip1_SelectedIndexChange" runat="server" AutoPostBack="True"
    NAME="Tabstrip1">
    <ie:Tab Text="Name" ID="name"></ie:Tab>
    <ie:Tab Text="Coverage" ID="Coverage"></ie:Tab>
    <ie:Tab Text="Premium" ID="Premium"></ie:Tab>
    <ie:Tab Text="Financial" ID="Financial"></ie:Tab>
    <ie:Tab Text="Tax" ID="Tax"></ie:Tab>
    <ie:Tab Text="Underwriting" ID="Underwriting"></ie:Tab>
    <ie:Tab Text="Claims" ID="Claims"></ie:Tab>
    <ie:Tab Text="Beneficiary" ID="Beneficiary"></ie:Tab>
 
   </ie:tabstrip>

and here is the code behind example

Me.TabPolicy.Attributes.Add("onclick", "Tabstrip1_SelectedIndexChange();")
 
Me.TabPolicy.Items(0).Text = " "
Me.TabPolicy.Items(0).SelectedImageUrl = CNFLibrary.ResourceManager.GetMessage("TabNameOpen", CompanyID)
Me.TabPolicy.Items(0).HoverImageUrl = CNFLibrary.ResourceManager.GetMessage("TabNameOpen", CompanyID)
Me.TabPolicy.Items(0).DefaultImageUrl = CNFLibrary.ResourceManager.GetMessage("TabNameClosed", CompanyID)
Me.TabPolicy.Items(1).Text = ""
Me.TabPolicy.Items(1).SelectedImageUrl = CNFLibrary.ResourceManager.GetMessage("TabCoverageOpen", CompanyID)
Me.TabPolicy.Items(1).HoverImageUrl = CNFLibrary.ResourceManager.GetMessage("TabCoverageOpen", CompanyID)
Me.TabPolicy.Items(1).DefaultImageUrl = CNFLibrary.ResourceManager.GetMessage("TabCoverageClosed", CompanyID)

etc...

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering JavaBeans Authors: Laurence Vanhelsuwé, Pages: 799, Published: 1997

Web:
Image Flicker version 3.0.0 - telerik Forum NET · Tabstrip for ASP.NET Image Flicker version 3.0.0 ... I had the exact same 'flicker' problem. I changed my IE explorer temp files settings to ...
Images flicker on hover Images flicker on hover, Send comments on this topic. ... is a browser related problem (under Mozilla everything is ok) as it does not cache the images, ...
tabstrip control with images - ASP.NET Forums Not sure if you resolved your problem but here is some code I'm using with the Tabstrip control to preload the images used as tabs. ...
Download Nitobi Tabstrip Free Download Nitobi Tabstrip - Nitobis feature rich, Ajax-powered tabstrip component adds ... It uses AJAX to smoothly refresh (no flicker) an. Price: Free ...
Target Content Pane flicker With TabStrip Navigate URL - telerik Forum NET Target Content Pane flicker With TabStrip Navigate URL ... IE6 problem with tabs based on png files, mouseOver does not load img ... image in a tabstrip ie6 problem with tabs based on png files, ... the Hover bg image just starts to flicker somehow and loads too slow. ...
Styles - 2D/3D Interface graphics designing software Create ... Supports: - XP visual styles - Flicker free drawing - Contained controls state ... Feature-packed, fully customizable TabStrip ActiveX control for use in ...
Gambas Dev 1.9.50 (Beta release) — GAMBAS, RAD and IDE for Linux NEW: The method signature popup does not flicker anymore. NEW: An option to show or hide .... BUG: TabStrip[].Picture returns the correct tab picture now. ...
Navigating to multiple aspx pages using tabstrip/pageview ...




Search This Site:










tree or menu features

master pages + request.form help pleaaaase!!!

get value from other contentplaceholder in masterpage

dynamically adding contents to contentplaceholder

theme css file + url rewriting = bug

menu's in vs 2005

firefox displays page correct - ms internet-explorer not ?!

site map file collapse or expand as default

master page and panel

css not applied when viewed in browser.

where is the grid layout

orientation issue with the asp navigation menu. please help!!!!!!!!!!!!!!!!!!!!!!

help ? masterpage changes ....or wrong all along ?

asp.net 2.0 treeview nodes centered, not left-aligned

how to cast a session sitemap to list?

sitemappath on master page, not display rootnode when on root page

adding a menu on the right click on a treenode

master page and dropdownlist

masterpage control code

set variable on page/use on master page

sitemappath control

skins that use external stylesheet vs in line styles

slightly more questions on themes / skins and css

seperator in horizontal menu

master pages and dropdownlist (c#)

right click ot treeview

menu in master page

master page not displaying properly

using imageurlfield with a sitemap

flickering listboxes

  Privacy | Contact Us
All Times Are GMT