Skip to main content
A newer version of this page is available. .

QueryBuilderExtension Class

Represents an extension object implementing the Query Builder functionality.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc.v18.1.dll

Declaration

public class QueryBuilderExtension :
    ExtensionBase

Remarks

Use the ExtensionsFactory.QueryBuilder helper method that returns a QueryBuilderExtension object to declare the Query Builder in a required View.

Pass the QueryBuilderSettings object as a helper method’s parameter to configure the Query Builder extension.


@Html.DevExpress().QueryBuilder(settings => {
    settings.Name = "QueryBuilder";
    settings.RouteValues = new { Controller = "QueryBuilder", Action = "Invoke" };
}).Bind("NorthwindConnection").GetHtml()

See the Query Builder - Getting Started section to learn more about adding the Query Builder to an ASP.NET MVC project.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the QueryBuilderExtension class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
ExtensionBase
QueryBuilderExtension
See Also