Using Html Server Controls in your Web Pages
The HTML Server controls are the simple server controls that can be used in the HTML page. These server controls are the ordinary server controls that have a runat=server attribute to it. For example an InputText html server control will look like,
type=text | password
In the above code you will find that an InputText html server control has several attributes that can be set during design time using the properties window and they can also be set during runtime programmatically. The runat=server attribute indicates that it is a server control.
There are many html server controls that you can use in your web page. Some of the commonly used input html server controls are HtmlInputText, HtmlInputButton, HtmlInputImage, HtmlInputHidden, HtmlInputRadioButton, HtmlInputCheckBox, and HtmlInputFile. Name, Value, and Type are the properties that are shared among these html input server controls. Container controls like HtmlTextArea, and HtmlSelect share properties like InnerHtml and InnerText.
If you are using an IDE like Visual Studio .Net then you can find the html controls grouped in a tab called Html Controls in the Tool palette. You can simply drag and drop the controls in the web page to use them.
.NET Programming Tutorial Homepage ______________________________________________________
Visit .NET Programming Tutorial Homepage
| Why should you go for Server Controls | Advantages of using .NET Server Controls | Understanding ASP.NET Server Controls | Creating Web Server Controls | Server Side Controls in ASP.Net | Creating Custom Server Controls | Server Controls in ASP.NET Web Page | Using Html Server Controls in your Web Pages | Understanding Dynamic Server Controls in ASP.NET | Using ASP Server Controls Templates | Developing ASP.NET Server Controls | Setting properties for ASP.NET Custom Server Controls | Implementing ASP.NET Server Side Controls | Creating Professional ASP.NET Server Controls |
Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.