ksg
ksg

Reputation: 4067

asp.net images display in ie but not in firefox

I've an asp.net image in my webform.

I've set the imageurl as follows

Image.Imageurl=".\\Attachments\\Photo-1.jpeg".

The problem is that it's working fine in ie but not is mozilla firefox..

Upvotes: 1

Views: 1003

Answers (2)

Qasim Javaid Khan
Qasim Javaid Khan

Reputation: 660

I am not sure, but if you can post your html code, then it will be great. Secondly, Sometimes it also happens, when we missed some html tags to be closed. so kindly check it also, because this could be a simple problem which you have overlooked.

Upvotes: 0

Bas
Bas

Reputation: 27105

Why do you use backslashes? Try Image.ImageUrl="/Attachments/Photo-1.jpeg";

Upvotes: 1

Related Questions