Error with TextBox control in the Table cell.

I am moving all control on the page in the web table control. Everything ok with labels and radio buttons, but multiline text box causes an error in design mode: 'Error Creating Control - Table1'.

<asp:TableRow>
       <asp:textbox id="Textbox1" runat="server" Width="376px" TextMode="MultiLine" Height="152px"></asp:textbox>
</asp:TableRow>

Anybody knows why and how to get around it? Thanks.
quasar_eeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nauman_ahmedCommented:
It should be like this:

<asp:TableRow>
<asp:TableCell>
<asp:textbox id="Textbox1" runat="server" Width="376px" TextMode="MultiLine" Height="152px"></asp:textbox>
</asp:TableCell>
</asp:TableRow>

Plus any reason you wanted to use server side tables instead of HTML tables?

-Nauman.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ptleitchCommented:
put it in a cell as well

<asp:Table ID="Table1" runat="server">
<asp:TableRow>
    <asp:TableCell>
    <asp:textbox id="Textbox1" runat="server" Width="376px" TextMode="MultiLine" Height="152px" />
    </asp:TableCell>
</asp:TableRow>

    </asp:Table>
quasar_eeAuthor Commented:
Thanks, I forgot to create a cell.

<
Plus any reason you wanted to use server side tables instead of HTML tables?

>

What are advantages of using HTML Table instead of the server side table? I am thinking about moving everything into HTML Table.

nauman_ahmedCommented:
There is not much difference. However, Table Web server control has more sophisticated functions. In most of the cases, you Html table control having runat=server and id will do the job. Following is a good article that has discussed its differences:

Table, TableRow, and TableCell Web Server Controls
http://www.developerfusion.co.uk/show/4410/3/

-Nauman.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.