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 |