T
tshad
I am using VS 2008 and in my aspx page my images are showing with squigly
lines (technical term) and saying that image not found.
But when it runs it finds them fine. The images are defined:
<asp:ImageButton ID="UpQuestion" visible="true" runat="server"
ImageUrl="~/images/arrowUp.gif" style="height:16px;width:16px;
vertical-align:middle" CommandName="Up" OnClick="moveQuestionRowUp"
AlternateText="^"/>
<asp:ImageButton ID="DownQuestion" visible="true" runat="server"
ImageUrl="~/images/arrowDown.gif" style="height:16px;width:16px;
vertical-align:middle" CommandName="Down" OnClick="moveQuestionRowDown"
AlternateText="v"/>
Why is that?
Also, if I have the path as the following, it still says not found and in
this case doesn't display:
ImageUrl="/images/arrowDown.gif"
I thought that the "/" said you start at the root and images is in the root,
so why doesn't it work here.
Also, if I have the path as the following, it still says not found and in
this case does display:
ImageUrl="images/arrowDown.gif"
The page is in the root so I would expect it to display. But in all cases,
it says images not found - when in fact they are there.
Thanks,
Tom
lines (technical term) and saying that image not found.
But when it runs it finds them fine. The images are defined:
<asp:ImageButton ID="UpQuestion" visible="true" runat="server"
ImageUrl="~/images/arrowUp.gif" style="height:16px;width:16px;
vertical-align:middle" CommandName="Up" OnClick="moveQuestionRowUp"
AlternateText="^"/>
<asp:ImageButton ID="DownQuestion" visible="true" runat="server"
ImageUrl="~/images/arrowDown.gif" style="height:16px;width:16px;
vertical-align:middle" CommandName="Down" OnClick="moveQuestionRowDown"
AlternateText="v"/>
Why is that?
Also, if I have the path as the following, it still says not found and in
this case doesn't display:
ImageUrl="/images/arrowDown.gif"
I thought that the "/" said you start at the root and images is in the root,
so why doesn't it work here.
Also, if I have the path as the following, it still says not found and in
this case does display:
ImageUrl="images/arrowDown.gif"
The page is in the root so I would expect it to display. But in all cases,
it says images not found - when in fact they are there.
Thanks,
Tom