The requested page is not available for the requested platform. You are viewing the content for Default platform.

QueryBuilderExtension Class

Represents an extension object implementing the Query Builder functionality.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public class QueryBuilderExtension :
    ExtensionBase
Public Class QueryBuilderExtension
    Inherits 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