Solved

asp:ImageButton weirdness in FireFox

Posted on 2008-06-11
2
1,134 Views
Last Modified: 2008-06-11
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
0
Comment
Question by:Nugs
  • 2
2 Comments
 
LVL 2

Author Comment

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

Duncan
0
 
LVL 2

Accepted Solution

by:
Nugs earned 0 total points
ID: 21764869
never mind on this... it appears the image was missing on the server.... must have been skipped when i published it.... IE was loading the image from cache....

Nugs
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now