i have a panel in a gridview and can not put background image to the panel or the table in the panel. they do not appear.
when i take the table out onto a new form IT WORKS!!!!!!!
i am boggled
Below is the code, it is in a gridview
<asp:Panel ID="pnlPerson" runat="server" Width="524px" Height="502px" BackImageUrl="~/backMail.PNG" Wrap="True" Visible="True">
<div style="float: right;">
<table width="524px" style="height:502px; background-image: url('backMail.PNG'); background-repeat: no-repeat;" dir="rtl" id="TT1">
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%">
<tr>
<td width="45px">
</td>
<td width="70px">
من
</td>
<td>
<asp:Label ID="Label8" runat="server" Text='<%# Bind("s_name") %>'></asp:Label></td>
</tr>
<tr>
<td>
</td>
<td>
الموضوع </td>
<td>
<asp:Label ID="Label7" runat="server" Text='<%# Bind("subject") %>'></asp:Label></td>
</tr>
<tr>
<td>
</td>
<td colspan="2" valign="top">
<table id="TT2" width="100%">
<tr>
<td width="70">
الرسالة </td>
<td>
<asp:Label ID="Label9" runat="server" Text='<%# Bind("message") %>'
ForeColor="White" Font-Bold="True" style="color: #000000"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<iframe src="compose.aspx?id=<%# Eval("id") %>" width="495px" height="300px"
scrolling="no" id="I1" name="I1"></iframe></td>
</tr>
<tr>
<td colspan="2">
<asp:ImageButton ID="lnkClose" runat="server" Text="Cancel" ImageUrl="~/images/drop.png" Height="35px" Width="35px" /></td>
</tr>
</table>
</div>
</asp:Panel>
<cc1:ModalPopupExtender ID="extPerson" runat="server" TargetControlID="lblPerson"
PopupControlID="pnlPerson" DropShadow="true" CancelControlID="lnkClose" X="150">
</cc1:ModalPopupExtender>

New Topic/Question
Reply





MultiQuote


|