asp.net - Images do not display consistently between VS and debugging version -
I have a gridview with three button columns that are set with images when I select my own path to image, VS Using the provided GUI tool, the resulting path is something like ~ / images / myicon.png
and displays the image (occasionally) VS. In Design Mode But the images are not displayed on the ongoing version of the website (Firefox usage) because the image space resolves ../ Images / myicon.png
. I can manually convert it to images / myicon.png
and it works fine on the website but then VS Not in
How do I treat them in the same way? These file paths are driving me crazy!
I will use the path that works in Firefox. Remember to try to display things in Design mode in 2005 in VS 2005. Design Mode 2005 is really awesome.
Honestly, in any version, the design mode can not be trusted in any way for the style. This VS Now it can come closer in 2010, but ultimately, it will never be good to display markup in a browser.
Comments
Post a Comment