asp.net.ph

Skip Navigation Links

Introduction to the MultiPage Control

Controls You Can Use on Web Forms   ASP.NET IE WebControls   MultiPage WebControl


The MultiPage WebControl simplifies the authoring of user interface ( UI ) elements used for presenting separate pages of information.

The MultiPage lets authors visually segregate information into multiple pages of content, while keeping the entire information readily accessible.

Essentially, a MultiPage serves simply as a container for one or more PageView controls, where each PageView object can contain its own set of HTML and other controls, and as such can each have a unique layout.

The MultiPage control displays only one PageView object at a time.

The below example illustrates using a simple MultiPage control.

MultiPage Navigation Using PageView.Activate
Run Sample | View Source

Using the MultiPage with the TabStrip control

The MultiPage is tightly connected to a second type of Microsoft Internet Explorer WebControl, the TabStrip control. When the MultiPage is used in conjunction with the TabStrip control, each PageView element on the MultiPage is automatically linked to a corresponding Tab element on the TabStrip in the order of their appearance in the document structure, if the TargetID attribute of the TabStrip is set to the ID of the MultiPage.

Using both the MultiPage and the TabStrip controls together enables content to be presented and paged without requiring code for navigating the different pages in a MultiPage control.

The below examples show using a MultiPage with the TabStrip control.

Using the MultiPage with the TabStrip Control
Run Sample | View Source
Using the TabStrip with the MultiPage Control
Run Sample | View Source

The MultiPage control is somewhat similar in function to the ASP.NET MultiView control, except that the MultiView neither supports nor implements client-side DHTML behaviors in uplevel browsers ( Microsoft Internet Explorer version 5.5 and later ).

The MultiView, though, includes support for navigation buttons that can be added to each View object. This allows for switching between the different views by simply setting some properties on the buttons, precluding the need to code the navigation process.

See Also

Adding MultiPage Controls to a Web Forms Page



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note