A
Adam Right
Hi All,
I have some HTML tags in a .ascx control
If i use style="background-image" in a <td> tag on that ascx control, i can
see the jpg file on design-time but it does not work in run-time for
master-pages..
But if i use same picture in a asp:ImageButton control like
<asp:ImageButton ID="Button1" runat="server"
ImageUrl="~/Images/design/search.jpg" OnClick="Button1_Click"/>
it works fine.
....
The td tag on .ascx file is :
<td
style="width:202;height:34;background-image:url(~/Images/design/search.jpg)"
Any idea how to handle this problem?
Thanks,
Adam
I have some HTML tags in a .ascx control
If i use style="background-image" in a <td> tag on that ascx control, i can
see the jpg file on design-time but it does not work in run-time for
master-pages..
But if i use same picture in a asp:ImageButton control like
<asp:ImageButton ID="Button1" runat="server"
ImageUrl="~/Images/design/search.jpg" OnClick="Button1_Click"/>
it works fine.
....
The td tag on .ascx file is :
<td
style="width:202;height:34;background-image:url(~/Images/design/search.jpg)"
Any idea how to handle this problem?
Thanks,
Adam