Gets or sets a value that determines whether paging is enabled.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[DefaultValueAttribute(false)]
[C1CategoryAttribute("Category.Paging")]
[LayoutAttribute(LayoutType.Behavior)]
[JsonAttribute(true, true, false)]
public bool AllowPaging { get; set; }
Visual Basic
<DefaultValueAttribute(False)> _
<C1CategoryAttribute("Category.Paging")> _
<LayoutAttribute(LayoutType.Behavior)> _
<JsonAttribute(True, True, False)> _
Public Property AllowPaging As Boolean
	Get
	Set

Field Value

The default value is False.

Remarks

Set this property to True to display the contents of the C1GridView component in page segments. You should provide code to handle the PageIndexChanged event.

See Also