Solved

asp:ImageButton weirdness in FireFox

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

825 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