Link to home
Start Free TrialLog in
Avatar of Nugs
Nugs

asked on

asp:ImageButton weirdness in FireFox

Afternoon everyone,

I have some weird things happening in FireFox with a <asp:ImageButton i have inside a user control...

Here is the ASP.NET code:
<asp:ImageButton ID="btnAddtoCart" runat="server" ImageUrl="~/images/btn_addtocart-sml.gif" AlternateText="Add to Cart" />

this is inside a Datalist control and fires the OnItemCommand="dlRelatedProducts_ItemCommand" event that adds the product to the cart... I will post code but i do not believe this is the issue...

1) This works find in IE, i do this allot all over the sites and this seems to be the only place even in Firefox where weird things are happening.
2) in Firefox i can not see the Image and rather i only see the AltText..
3) in Firefox the event does not fire at all

And the kicker:
4) All this works fine in both Firefox and IE when testing locally.

I'm kinda stumped as to what is going on here, it's rough when you can not reproduce the issue in development. So was wondering if someone knows what might be happening here...

If you would like to see this behavior first hand please see my website... Specifically this page:
http://www.thengaafrica.com/Details.aspx?cat=1|all|36

The box to the top right "Related Products" is what i am talking about.... In FireFox you will see "Add To Cart" text and in IE you will see the button as you should...

Let me know please... This is very nasty looking...

Duncan
Avatar of Nugs
Nugs

ASKER

Oh that is freakin weird... It just started working fine by itself... What the heck is going on here???

Duncan
ASKER CERTIFIED SOLUTION
Avatar of Nugs
Nugs

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial