P
Pumkin
Hello guys,
I have a small problem with setting the absolute path of an image.
Here is the scenario:
I need to put the image in a text concat something like this:
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'Images/picture.gif' /> text " />
If I put a relative path everything is perfect, but if I try an
absolute path it is not working.
I have already tried:
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'/Images/picture.gif' /> text " />
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'~/Images/picture.gif' /> text
runat = 'server' " />
It seems like an easy thing to do but I cannot make it work.
Thanks for the help...
I have a small problem with setting the absolute path of an image.
Here is the scenario:
I need to put the image in a text concat something like this:
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'Images/picture.gif' /> text " />
If I put a relative path everything is perfect, but if I try an
absolute path it is not working.
I have already tried:
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'/Images/picture.gif' /> text " />
<asp:Label id = "lbl" runat = "server" text = "<img id = 'img' src =
'~/Images/picture.gif' /> text
runat = 'server' " />
It seems like an easy thing to do but I cannot make it work.
Thanks for the help...