Solved

asp:ImageButton weirdness in FireFox

Posted on 2008-06-11
2
1,131 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

9 Experts available now in Live!

Get 1:1 Help Now