System.Web.UI.WebControls.GridView.EnableSortingAndPagingCallbacks Property

Gets or sets a value indicating whether client-side callbacks are used for sorting and paging operations.

Syntax

[System.ComponentModel.DefaultValue(false)]
public virtual bool EnableSortingAndPagingCallbacks { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, when a sorting or paging operation is performed, the System.Web.UI.WebControls.GridView control posts back to the server to perform the operation. When the GridView.EnableSortingAndPagingCallbacks property is set to true, a service is called on the client to perform sorting and paging operations, which eliminates the need to post back to the server.

Note:

Not all browsers support this feature. To determine whether a browser supports this feature, use the System.Web.Configuration.HttpCapabilitiesBase.SupportsCallback property.

All columns in the GridView.Columns collection must support callbacks for this feature to work. If the GridView.Columns collection contains a column that does not support callbacks, such as System.Web.UI.WebControls.TemplateField, a NotSupportedException exception is raised.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0