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,

<input type=text | password
id="an_id_for_this_control"
maxlength="maximum_characters_allowed"
size="textbox_width"
value="textbox_content_default_value"
runat="server" >

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.



Do new Web tools spell doom for the browser? (InfoWorld via Yahoo! News)
Since its inception, the Web has been synonymous with the browser. Pundits hailed NCSA Mosaic as "the killer app of the Internet" in 1993, and today's browsers share an unbroken lineage from that humble beginning.

Green Hills Software Named "Platinum Sponsor" of SYS-CON's Virtualization Conference & Expo (SYS-CON Media)
Founded in 1982, Green Hills Software is a software and solutions company specializing in secure operating systems, virtualization technology, and software development tools. Green Hills products are used in a wide range of embedded, mobile, desktop, and server computer systems, including the F-35 Joint Strike Fighter avionics, Boeing 787 flight controls, mobile devices, multi-level secure ...

BlackBerry Curve 8330 Smartphone Now Available on Verizon Wireless (PDA Buyer's Guide)
Verizon Wireless announced today that the highly anticipated BlackBerry Curve 8330 smartphone from Research In Motion (RIM) is now available through Verizon Wireless' online store and through business sales channels. This sophisticated, silver smartphone will be available in Verizon ...




______________________________________________________

Recommended Resource



| 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 |



_______________

FREE Subscription

Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.


 

Privacy Policy for www.dotnet-guide.com