ASP.NET 2.0 All-In-One Desk Reference For Dummies®
by Doug Lowe, Jeff Cogswell, Ken Cox - Microsoft MVP
Chapter 4. Using Advanced Web Server Controls
In This Chapter
✓ | Working with the MultiView control |
✓ | Making use of the Wizard control |
✓ | Using the Calendar control |
✓ | Utilizing the FileUpload control |
This chapter presents four interesting ASP.NET server controls. The MultiView and Wizard controls both let you create controls that have multiple groups of controls inside them — although only one group at a time is displayed. The Calendar control displays calendars. And the FileUpload control lets your users upload files (for example, completed pizza orders) to your Web site.

All code listings used in this book are available for download at www.dummies.com/go/aspnetaiofd. Note that you’ll find both C# and VB.NET versions of all the listings in this chapter available for download from the Web site.
Enjoy!
Using the MultiView Control
A MultiView control is a control that contains one or more views, each of which can display a different set of controls. MultiView controls are typically used to create pages that require a lot of input from the user. Rather than throw all the input controls at the user at once, a MultiView control lets you break the input controls into sections and display only one group of controls at a time. The result is a less confusing page that’s easier to use.
To illustrate, Figure 4-1 shows a Web page that steps the user through the process of ordering a pizza. First, the user selects ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access