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"
></asp:TextBox></asp:TableCell>
</asp:TableRow>
[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>
Alexey Smirnov - 23 Jul 2007 20:57 GMT
> here is the error:
> Literal content ('<asp:TableRow BackColor="white"') is not allowed within a
[quoted text clipped - 21 lines]
> Text=" send now " OnClick="btnSend_Click" /></asp:TableCell>
> </asp:TableRow>
If I copy your code to my application, it shows me a table with an
input form. No error occurred
Brandon Gano - 23 Jul 2007 23:46 GMT
My guess is you have a stray character somewhere outside an <asp:TableCell
/>. Possibly an extra < or >?
> here is the error:
> Literal content ('<asp:TableRow BackColor="white"') is not allowed within
[quoted text clipped - 21 lines]
> Text=" send now " OnClick="btnSend_Click" /></asp:TableCell>
> </asp:TableRow>
Jassim Rahma - 24 Jul 2007 10:04 GMT
i have just uploaded the same file again and it worked fine..
thank you
> here is the error:
> Literal content ('<asp:TableRow BackColor="white"') is not allowed within
[quoted text clipped - 21 lines]
> Text=" send now " OnClick="btnSend_Click" /></asp:TableCell>
> </asp:TableRow>