View Single Post
Old 09-01-2004, 10:56 PM   #17
ashish
TopHosts Senior Member
 
Join Date: Jul 2004
Posts: 108
ashish will become famous soon enough
Default Re: Basic Information about ASP.NET

Hi all,

Just wanted to talk a bit about the various HTML server controls.

Normally, all HTML elements in a ASP.NET file are treated as normal text, however, in order to process a HTML element at the server, you need to add a runat = "server" property in the form and the Html tags.

Once you do that you can programmatically control a Html element, in fact all the HTML controls allow you to control some or the other Html tag at the server.

Here is a list of the various HTML server controls along with the Html tag that they control.

HtmlAnchor - Used for controlling the <a> tag, which is associated with hyper linking.

HtmlButton - Controls the <button> tag.

HtmlForm - Controls forms.

HtmlGeneric - All those Html controls for which there is no specific Html server control are handled by this control, for ex: <body>, <div>, <span>, etc.

HtmlImage - Controls the image tags.

HtmlInputButton - Controls the submit, reset & button HTML elements.

HtmlInputCheckBox - Controls the checkbox element.

HtmlInputFile - Controls the file element.

HtmlInputHidden - Controls the hidden element.

Any suggestion/Corrections/Additions welcome

Some info from www.411asp.net & www.aspalliance.com
__________________
Cheers,
Ashish
M6.Net - ASP Hosting, ASP.Net Hosting

Last edited by ashish : 09-01-2004 at 11:18 PM.
ashish is offline   Reply With Quote