Displaying Different Page Views
The MultiView
control enables you to hide and display different areas of a page. This control is useful when you need to create a tabbed page. It is also useful when you need to divide a long form into multiple forms.
The MultiView
control contains one or more View
controls. You use the MultiView
control to select a particular View
control to render. (The selected View
control is the Active View
.) The contents of the remaining View
controls are hidden. You can render only one View
control at a time.
The MultiView
control supports the following properties (this is not a complete list):
• ActiveViewIndex
—
Enables you to select the View
control to render by index.
• Views
—
Enables you to retrieve the collection ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.