Skip to main content

QueryBuilderExtension Class

Represents an extension object implementing the Query Builder functionality.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

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.

Inheritance

Object
ExtensionBase
QueryBuilderExtension
See Also