Hi I have a imageButton and when I load IE 7, it shows a broken image for the picture, although when I go into Design in VS2010 it shows the picture.
Here is the code:
<asp:ImageButton ID="calendarImage" runat="server" ImageUrl="d:\mydocuments\ALM\ALM\ALM\imgs\calendar_button.jpg" Height="21px" Width="24px" />
Thanks,
Greg
Why are you trying to set
ImageUrl="d:\mydocuments\ALM\ALM\ALM\imgs\calendar_button.jpg"in this way ?You should put these images in your Website folder, then set the path like…
If you really want to set ImageURL the way you are proposing, I would not recommend it, but you can do it like…
You need to use
double slashinsteadsingle slashin path