QueryableDataSourceView.AutoSort Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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