Background image for a label in a gridview
Posted
by Zerotoinfinite
on Stack Overflow
See other posts from Stack Overflow
or by Zerotoinfinite
Published on 2010-05-09T19:36:09Z
Indexed on
2010/05/09
19:38 UTC
Read the original article
Hit count: 133
Hi Experts,
I have a gridview, under a item template I have a table, one of the row of the table look like this
<td bgcolor="White" colspan="2" style="width:100%; background-image:url(bubble1.gif);">
<asp:Panel ID="pnlHistory" runat="server" ScrollBars="Auto">
<asp:Label ID="lblHistory" runat="server" Text='<%# Server.HtmlDecode(Eval("History").ToString()) %>'></asp:Label>
</asp:Panel>
</td>
</tr>
I want to display bubble image as a background, on which my text [i.e. History (coming from database)] will be displayed.
Please help, it's urgent. Thanks in advance.
© Stack Overflow or respective owner