Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 06, 2011 03:08 PM by Segundo
Participant
1510 Points
2249 Posts
Oct 06, 2011 09:28 AM|LINK
Hi,
This img works: <img src='<%=ResolveUrl("images/brain.png")%>' /> but for Image button not works:
<asp:ImageButton ID="ImageButton1" ImageUrl='<%=ResolveUrl("~images/brain.png")%>' runat="server" />
Please help
Contributor
2401 Points
531 Posts
Oct 06, 2011 10:07 AM|LINK
I believe that, ASPX controls (Image/Image Button) will not support that.
Oct 06, 2011 11:25 AM|LINK
Is there anything else intended for it?
Star
10892 Points
1567 Posts
Oct 06, 2011 03:08 PM|LINK
for server control is enough use ~
<asp:ImageButton ID="ImageButton1" ImageUrl="~/images/brain.png" runat="server" />
Any doubt, post your comment.
programercek
Participant
1510 Points
2249 Posts
ImageUrl='<%=ResolveUrl
Oct 06, 2011 09:28 AM|LINK
Hi,
This img works: <img src='<%=ResolveUrl("images/brain.png")%>' /> but for Image button not works:
<asp:ImageButton ID="ImageButton1" ImageUrl='<%=ResolveUrl("~images/brain.png")%>' runat="server" />
Please help
prabinyovan
Contributor
2401 Points
531 Posts
Re: ImageUrl='<%=ResolveUrl
Oct 06, 2011 10:07 AM|LINK
I believe that, ASPX controls (Image/Image Button) will not support that.
Nothing is really over,until the moment u stop trying for it....
programercek
Participant
1510 Points
2249 Posts
Re: ImageUrl='<%=ResolveUrl
Oct 06, 2011 11:25 AM|LINK
Is there anything else intended for it?
Segundo
Star
10892 Points
1567 Posts
Re: ImageUrl='<%=ResolveUrl
Oct 06, 2011 03:08 PM|LINK
Hi,
for server control is enough use ~
Any doubt, post your comment.
Blog: http://www.neuronasoft.net