I have been using the asp:Menu control for a while now but have only just started to use images with it.

When i click and navigate around the site it works fine but
the problem is that when i click the link for the same page that i am viewing
all the images in my two asp:Menu controls disappear

The asp:Menu is filled from an SQL Table and always returns the same results

This ONLY effects IE as firefox works fine

Demo Site


<asp:Menu ID="mnuTopMain" 
runat="server" CssClass="NavigationMenus" Orientation="Horizontal" 
SkipLinkText="" StaticEnableDefaultPopOutImage="False">
    <DynamicMenuStyle CssClass="NavigationMenusDD" />
    <DynamicSelectedStyle CssClass="NavigationMenus" />
    <DynamicMenuItemStyle CssClass="NavigationMenusDD" VerticalPadding="1px" />
        <asp:ImageButton ID="imgVTopMenu" 
        runat="server" ImageUrl=<%# Eval("ImageURL") %> 
        ImageAlign="Middle" AlternateText=<%# Eval("Text") %> 
        PostBackUrl=<%# Eval("navigateURL") %> Width="64px" Height="39px" />
        <span id="lblVCode"><%#Eval("Text")%></span>

I have fixed it by changing the asp:ImageButton to asp:Image

If anybody has any idea as to why this happed I would like to know


This question has already been answered. Start a new discussion instead.