teable

  • Thread starter Thread starter vinnie
  • Start date Start date
V

vinnie

anyone can explain me the difference between the HTML table and ASP
table in the Visual Studio 2005 toolbox?

Thanks
 
hi,
"They both produce an html table. All controls only produce html but server
controls like asp:table will likely emit more properties/values in their
output.

HTML elements in ASP.NET files are treated as text, server controls are
treated as objects. To make these html elements server side programmable
you can add a runat="server" attribute to the HTML element. The main
difference between htl table and asp:table is the way they can be
nested,created, bound and controlled at runtime as an object rather than a
string of text."

for more information, check the follwoing:

http://www.asp101.com/lessons/webcontrols.asp


Regards,
Husam Al-A'araj
www.aaraj.net
 
hi,
"They both produce an html table. All controls only produce html but server
controls like asp:table will likely emit more properties/values in their
output.

HTML elements in ASP.NET files are treated as text, server controls are
treated as objects. To make these html elements server side programmable
you can add a runat="server" attribute to the HTML element. The main
difference between htl table and asp:table is the way they can be
nested,created, bound and controlled at runtime as an object rather than a
string of text."

for more information, check the follwoing:

http://www.asp101.com/lessons/webcontrols.asp

Regards,
Husam Al-A'arajwww.aaraj.net

Hi thanks for your help: why then when i place a HTML table and put a
button in a cell, during the debugging the button goes somewhere in
the page but does not remain in that specific cell?
 
vinnie,
this shold not happen, at run time, the html table with its controls shold
appear as your design mode.
check your html design and make sure that you have a proper design.

Regards,
Husam Al-a'araj
www.aaraj.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top