J
Jeff
hey
asp.net 3.5
I have a gridview where I'm trying to display a image which the user can
click on and some action will be triggered:
The image here isn't displayed, instead a broken image is displayed and alt
text is displayed
<asp:HyperLinkField Text="<img border='0' runat='server'
src='../Images/ArrowR.gif' alt='test' />" DataNavigateUrlFields="Id" >
</asp:HyperLinkField>
But the markup below is displayed, the markup below is just a reference I
added to the page, it doesn't exist in any control... so the markup below is
just debug info.. it shows that my <image.. is correct, but somehow it won't
display when used in a HyperLinkField
<img border='0' runat="server" src="../Images/ArrowR.gif" alt='test' />
Any suggestions? is there a better approach? If there is a better approach,
then I'd love to hear about it
Jeff
asp.net 3.5
I have a gridview where I'm trying to display a image which the user can
click on and some action will be triggered:
The image here isn't displayed, instead a broken image is displayed and alt
text is displayed
<asp:HyperLinkField Text="<img border='0' runat='server'
src='../Images/ArrowR.gif' alt='test' />" DataNavigateUrlFields="Id" >
</asp:HyperLinkField>
But the markup below is displayed, the markup below is just a reference I
added to the page, it doesn't exist in any control... so the markup below is
just debug info.. it shows that my <image.. is correct, but somehow it won't
display when used in a HyperLinkField
<img border='0' runat="server" src="../Images/ArrowR.gif" alt='test' />
Any suggestions? is there a better approach? If there is a better approach,
then I'd love to hear about it
Jeff