FormView::TopPagerRow Property
Gets the FormViewRow object that represents the pager row displayed at the top of a FormView control.
Assembly: System.Web (in System.Web.dll)
[BrowsableAttribute(false)] public: virtual property FormViewRow^ TopPagerRow { FormViewRow^ get (); }
Property Value
Type: System.Web.UI.WebControls::FormViewRowA FormViewRow that represents the top pager row in the FormView control.
When paging is enabled (when the AllowPaging property is set to true), an additional row called the pager row is automatically displayed in the FormView control. The pager row contains controls that allow the user to navigate to other records, and can be displayed at the top, the bottom, or both the top and bottom of the control. Use the TopPagerRow property to programmatically access the FormViewRow object that represents the top pager row in the FormView control.
Note |
|---|
The TopPagerRow property is available only after the FormView control creates the top pager row in the ItemCreated event. |
This property is commonly used when you need to programmatically manipulate the top pager row, for example when adding custom content. Any modification to the TopPagerRow property must be performed after the FormView control has been bound to data; otherwise, the FormView control overwrites any changes.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note