We can design a Web Forms page by using controls called Web Forms server controls. We can program the functionality to be provided for the server controls. The server controls are different from the usual Windows controls because they work within the ASP.NET Framework. The different types of server controls are described as follows:
• HTML Server controls: These controls refer to the HTML elements that can be used in server code. The HTML elements can be converted into HTML server controls. To do so, we need to use attributes, such as ID and RUNAT, in the tags that are used to add the HTML controls. We can also add these controls to the page by using the HTML tab of the toolbox.
• ASP.NET server controls: These controls do not map one – to – one to HTML server controls. ASP.NET server controls include traditional form controls, such as text boxes and buttons, and complex controls, such as tables.
• Validation controls: These controls are used to validate users’ input. Validation controls can be attached to input controls to check the values entered.
• User controls: These controls are created from the existing Web Forms pages and can be used in other Web Forms pages.
Friday, March 5, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment