Back to Devexpress

ASPxClientFilterControl.GetAppliedFilterExpression Method

aspnet-js-aspxclientfiltercontrol-40f9ece3.md

latest2.0 KB
Original Source

ASPxClientFilterControl.GetAppliedFilterExpression Method

Returns the applied filter expression.

Declaration

ts
GetAppliedFilterExpression(): string

Returns

TypeDescription
string

A string value that specifies the applied filter expression.

|

Remarks

The current filter expression is specified by the ASPxFilterControlBase.FilterExpression property. To apply it, call the server-side ASPxFilterControlBase.ApplyFilter method or the client-side ASPxClientFilterControl.Apply method. In this instance, the current filter expression is assigned to the ASPxFilterControlBase.AppliedFilterExpression property.

Once applied, the current filter can be restored to the previously applied expression, specified by the ASPxFilterControlBase.AppliedFilterExpression property. To do this, use the server-side ASPxFilterControlBase.ResetFilter method or the client-side ASPxClientFilterControl.Reset method.

To obtain the current filter on the client, use the ASPxClientFilterControl.GetFilterExpression method.

See Also

FilterExpression

AppliedFilterExpression

GetFilterExpression

Filter Control

ASPxClientFilterControl Class

ASPxClientFilterControl Members