Panel::Paginate Property

 

Gets or sets a Boolean value indicating whether or not to paginate the Panel control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

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

public:
[BindableAttribute(true)]
property bool Paginate {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

true to paginate the Panel; otherwise, false.

The Paginated event is raised after form pagination occurs.

System_CAPS_noteNote

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

System_CAPS_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.

System_CAPS_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 Forms Page Code Model.

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

.NET Framework
Available since 1.1

Form
Panel Class
System.Web.UI.MobileControls Namespace
Introduction to the Panel Control
Organizing Content with Containers
Introducing Control Templates

Return to top
Show: