ObjectDataSourceView.CanSort Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports a sorted view on the underlying data source.
public:
virtual property bool CanSort { bool get(); };
public override bool CanSort { get; }
member this.CanSort : bool
Public Overrides ReadOnly Property CanSort As Boolean
Property Value
true
.
Remarks
Because the ObjectDataSource control only supports sorting data when the Select method returns a DataSet, DataView, or DataTable object, the view object cannot determine whether sorting is supported until the Select method is called and returns. For this reason, the CanSort property always returns true
.