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:textb ox>
</asp:TableRow>
Anybody knows why and how to get around it? Thanks.
<asp:TableRow>
<asp:textbox id="Textbox1" runat="server" Width="376px" TextMode="MultiLine" Height="152px"></asp:textb
</asp:TableRow>
Anybody knows why and how to get around it? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
Table, TableRow, and TableCell Web Server Controls
http://www.developerfusion.co.uk/show/4410/3/
-Nauman.
ASKER
<
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.