Chapter 6 Quick Reference


Chapter 6 Quick Reference

To

Do This

Validate Form input

ASP.NET includes a number of validator controls that check data entered via server-side controls. These controls include

CompareValidator

RangeValidator

RequiredFieldValidator

RegularExpressionValidator

ValidationSummary

CustomValidator

To validate the input of a server-side control, drag the appropriate validator control onto the page and set the ControlToValidate property to the target control

Set the other validator properties appropriately

Instantiate the child control

Add the child control to the composite control's Control collection

Display hierarchical data sets in an intuitive way

Use the TreeView control

Either add items by hand, or bind the TreeView control to a hierarchical data source

Swap between several pages of information on the same Web page

Use the MultiView and View controls

You can think of the View control as a miniature page managing controls

The MultiView manages a collection of Views

The MultiView supports swapping between Views




Microsoft ASP. NET 2.0 Programming Step by Step
Microsoft ASP.NET 2.0 Step By Step (Step By Step (Microsoft))
ISBN: B002KE5VYO
EAN: N/A
Year: 2005
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net