Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

asp:ImageButton weirdness in FireFox

Posted on 2008-06-11
2
Medium Priority
?
1,150 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

877 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