FormView.TopPagerRow Property
Assembly: System.Web (in system.web.dll)
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.
Reference
FormView ClassFormView Members
System.Web.UI.WebControls Namespace
FormViewRow
FormView.AllowPaging Property
FormView.PageCount Property
FormView.PageIndex Property
FormView.PagerSettings Property
FormView.PagerStyle Property
FormView.PagerTemplate Property
FormView.BottomPagerRow Property
ItemCreated
PageIndexChanged
PageIndexChanging
Note: