J
Jassim Rahma
here is the error:
Literal content ('<asp:TableRow BackColor="white"') is not allowed within a
'System.Web.UI.WebControls.TableRowCollection'.
and here is my code:
<asp:TableRow BackColor="white">
<asp:TableCell VerticalAlign="Top">Your Message</asp:TableCell>
<asp:TableCell VerticalAlign="Top">:</asp:TableCell>
<asp:TableCell VerticalAlign="Top"><asp:TextBox ID="txtMessage"
runat="server" BackColor="LightGoldenrodYellow" BorderStyle="Groove"
Width="500" Height="100" TextMode="MultiLine"
[ERROR COMES ON THIS LINE]
<asp:TableRow BackColor="white"><asp:TableCell ColumnSpan="3"
VerticalAlign="Middle"><br /></asp:TableCell></asp:TableRow>
<asp:TableRow BackColor="white">
<asp:TableCell VerticalAlign="Top"></asp:TableCell>
<asp:TableCell VerticalAlign="Top"></asp:TableCell>
<asp:TableCell VerticalAlign="Top"><asp:Button ID="btnSend" runat="server"
Text=" send now " OnClick="btnSend_Click" /></asp:TableCell>
</asp:TableRow>
Literal content ('<asp:TableRow BackColor="white"') is not allowed within a
'System.Web.UI.WebControls.TableRowCollection'.
and here is my code:
<asp:TableRow BackColor="white">
<asp:TableCell VerticalAlign="Top">Your Message</asp:TableCell>
<asp:TableCell VerticalAlign="Top">:</asp:TableCell>
<asp:TableCell VerticalAlign="Top"><asp:TextBox ID="txtMessage"
runat="server" BackColor="LightGoldenrodYellow" BorderStyle="Groove"
Width="500" Height="100" TextMode="MultiLine"
</asp:TableRow></asp:TextBox></asp:TableCell>
[ERROR COMES ON THIS LINE]
<asp:TableRow BackColor="white"><asp:TableCell ColumnSpan="3"
VerticalAlign="Middle"><br /></asp:TableCell></asp:TableRow>
<asp:TableRow BackColor="white">
<asp:TableCell VerticalAlign="Top"></asp:TableCell>
<asp:TableCell VerticalAlign="Top"></asp:TableCell>
<asp:TableCell VerticalAlign="Top"><asp:Button ID="btnSend" runat="server"
Text=" send now " OnClick="btnSend_Click" /></asp:TableCell>
</asp:TableRow>