ערוך

שתף באמצעות


DynamicField.SortExpression Property

Definition

Gets or sets the sort expression that is used when the data field is used to sort the data source by.

public:
 virtual property System::String ^ SortExpression { System::String ^ get(); void set(System::String ^ value); };
public override string SortExpression { get; set; }
member this.SortExpression : string with get, set
Public Overrides Property SortExpression As String

Property Value

The sort expression that is used when the data field is used to sort the data source by.

Exceptions

The DynamicField object is inside a data-bound control that is not bound to a data source control that implements the IDynamicDataSource interface.

Remarks

The SortExpression property tries to use the value of the MetaColumn.SortExpression property of the column object that is associated with the DynamicField object by setting the DataField property.

The OnFieldChanged method is called to raise a state change event when the SortExpression property is set.

The value of the SortExpression property is stored in view state.

Applies to

See also