Last post Nov 02, 2018 01:49 AM by Jenifer Jiang
Nov 01, 2018 08:22 PM|dlchase|LINK
We have a website for customers to submit some information to us. When the aspx page is displayed in Firefox, Chrome or Safari the image button does not display the image. Below is the page markup for the ImageButton. What is causing this image to not display?
The png file referenced is in the same folder as the aspx page.
<asp:ImageButton ID="BtnSubmit" runat="server" Text="Submit Form" OnClientClick="return reCaptcheck();" ImageUrl="BtnSubmit.png" />
Nov 01, 2018 09:15 PM|mgebhard|LINK
Use the network trace in dev tools (F12) to verify you're not getting 404 errors.
Nov 02, 2018 01:49 AM|Jenifer Jiang|LINK
According to your description and code, I could not reproduce your problem.
I've made a sample and the following code is similar to yours. My image works well.
<asp:ImageButton ID="BtnSubmit" runat="server" Text="Submit Form" OnClientClick="return reCaptcheck();" ImageUrl="test.jpg"/>
In my opinion, maybe there're some other codes making the effect.
If possible, please provide more details about your page so that it will be easier for us to help with you.
Or just as mgebhard has said, you could use F12 develper tool to check if there's an error and to solve it.