AutoSort Property

QueryableDataSourceView.AutoSort Property

.NET Framework 4.6 and 4.5

Gets or sets a value that indicates whether the QueryableDataSourceView object that is associated with the current QueryableDataSource control supports sorting by default.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public virtual bool AutoSort { get; set; }

Property Value

Type: System.Boolean

true if sorting is supported; otherwise, false. The default is true.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft