problem with html image control i
I am using html image and hyperlink control in asp.net, when i give the url for the image using the source tag it is displaying image in the asp.net form, but when i debug n run it, it displays a cross sign. plz guys help me out i hav to submit my project tomorrow
Re: problem with html image control i
the url/path will be incorect - try root relative url so it will always be correct no matter where it's requested
i.e. root relative (/images/pic.gif) - document relative (../images/pic.gif or images/pic.gif) is only valid starting from a doc at that same depth in the site directory sturcture.
Re: problem with html image control i
If that doesn't work and if your project files are not in C:\inetpub\wwwroot but somewhere else, then make sure that the images get copied over to the above destination.