This documentation is archived and is not being maintained.

Panel::Paginate Property

Gets or sets a Boolean value indicating whether or not to paginate the Panel control.

Namespace:  System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[BindableAttribute(true)]
public:
virtual property bool Paginate {
	bool get ();
	void set (bool value);
}
<asp:Panel Paginate="True|False" />

Property Value

Type: System::Boolean
true to paginate the Panel; otherwise, false.

The Paginated event is raised after form pagination occurs.

NoteNote:

Even if the Paginate property is set to false, pagination can still occur if a form's ControlToPaginate property is set.

NoteNote:

To allow pagination in a Panel control within a form, you must set Paginate to true in both the form and the panel.

The following code example, when viewed on a device that paginates the pages, shows how a panel containing more controls than will fit on one page is paginated to allow users access to all items on the panel.

NoteNote:

The following code sample uses the single-file code model and may not work correctly if copied directly into a code-behind file. This code sample must be copied into an empty text file that has an .aspx extension. For more information, see ASP.NET Web Page Code Model.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Show: