aspxtreme

PageView Class

Microsoft.Web.UI.WebControls Namespace


.NET Framework version 2.0

Defines a page in a MultiPage control.

PageView Class Members

Collapse   Constructors

Visibility Constructor Parameters
public PageView ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Selected Boolean [ Get ]
public Visible Boolean [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public Activate ( ) Void
protected LoadViewState ( Object state ) Void
protected OnInit ( EventArgs e ) Void
protected RenderDesignerPath ( HtmlTextWriter writer ) Void
protected RenderDownLevelPath ( HtmlTextWriter writer ) Void
protected RenderUpLevelPath ( HtmlTextWriter writer ) Void

Remarks

The PageView control serves as a container for the content of an individual page in a MultiPage control.

Each PageView object can contain HTML elements and/or other ASP.NET controls. And because each PageView is essentially an independent page within the entire document structure, the page can have its own structure and layout.

NOTE: A PageView control can only be declared as a child element of a MultiPage control.

When the MultiPage in which the PageView belongs to is used in conjunction with the TabStrip control, the PageView elements are linked to the Tab controls of the TabStrip in the order of appearance in the document structure if the TargetID attribute of the TabStrip is set to the ID of the MultiPage.

If there are more Tab elements than PageView elements, the tabs with no corresponding page views can be activated, but the MultiPage will not change the currently selected PageView.

Example

The below examples illustrate using the PageView class.

MultiPage Navigation Using PageView.Activate
Run Sample | View Source
Nested MultiPage Controls
Run Sample | View Source

The below examples show using the MultiPage with the TabStrip class.

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

MultiPage WebControl   MultiPage Class   TabStrip Class



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

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

You can help support aspxtreme