This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Web Forms Server Controls
Web Forms controls are specifically designed to work with Web Forms. They differ from controls for Windows applications because they work within the ASP+ page framework. Because of this, Web Forms controls feature unique design considerations.
When you create Web Forms, you can use these types of controls:
- HTML controls HTML elements exposed to the server so you can program them. HTML controls expose an object model that maps very closely to the HTML elements that they render.
- Web controls Controls with more built-in features than HTML controls. Web controls include not only form-type controls such as buttons and text boxes, but also special-purpose controls such as a calendar. Web controls are more abstract than HTML controls, in that their object model does not necessarily reflect HTML syntax.
You can use both types of controls on the same form. When you are working with Web Forms, you can also use these other special purpose controls:
- Validation controls check the contents of an HTML control or Web control against a static or dynamic value, against another control, against a pattern, and so on.
- Pagelet Controlsare Web Forms pages that you can reuse as a control in other Web Forms. These new files are defined by the .aspc file extension.
ASP+ also offers you the powerful option of creating your own Web Forms controls. For more information, see Developing Web Forms Controls.
These following topics provide more information about Web Forms controls.
HTML Controls
Web Controls
Web Forms Control Recommendations
Web Forms Controls by Function
Web Forms Controls and CSS Styles
Creating Web Control Templates
Web Forms Data Binding
Programming Web Forms Controls
See Also
ASP+ Web Forms | Developing Web Forms Controls