This documentation is archived and is not being maintained.

System.Web.UI.WebControls.Expressions Namespace

The System.Web.UI.WebControls.Expressions namespace provides classes that enable you to filter data in a Web page by using the QueryExtender control.

This namespace contains expressions that are used with the QueryExtender control to filter data in a Web page using declarative syntax. The classes in this namespace include System.Web.UI.WebControls.Expressions.SearchExpression, System.Web.UI.WebControls.Expressions.RangeExpression, System.Web.UI.WebControls.Expressions.PropertyExpression, System.Web.UI.WebControls.Expressions.OrderByExpression and System.Web.UI.WebControls.Expressions.CustomExpression.

Public classCustomExpressionProvides a way to specify a custom LINQ query that is called in response to an event.
Public classCustomExpressionEventArgsRepresents the event data for the CustomExpression class.
Public classDataSourceExpressionRepresents a base class for creating expression classes.
Public classDataSourceExpressionCollectionRepresents a collection of expressions to apply to a data source control.
Public classMethodExpressionProvides a way to specify a custom LINQ query that is defined in a method.
Public classOfTypeExpressionProvides a way to filter a query based on a specified type.
Public classOrderByExpressionProvides a way to apply a sort expression to an IQueryable object.
Public classParameterDataSourceExpressionRepresents an abstract base class for ParameterDataSourceExpression objects.
Public classPropertyExpressionProvides a way to create a Where clause from parameters in a WhereParameters collection.
Public classQueryExpressionRetrieves instances of a specific entity type by using a complex query.
Public classRangeExpressionProvides a way to determine whether a value is greater than or less than a specified value, or whether a value is between two specified values.
Public classSearchExpressionProvides a way to search a field or fields for string values and compare them to a specified string value.
Public classThenByProvides a way to apply a sort expression to an IQueryable data source object after an OrderByExpression expression is applied.

Public enumerationRangeTypeSpecifies the type of numeric comparison to use in an instance of the RangeExpression class.
Public enumerationSearchTypeSpecifies the type of search in an instance of the SearchExpression class.