Link to home
Start Free TrialLog in
Avatar of Alex A
Alex A

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of nauman_ahmed
nauman_ahmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alex A
Alex A

ASKER

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.

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.