Skip to main content

QueryBuilderSettings.RouteValues Property

Defines the routing logic by specifying the names of a Controller and an Action which should handle requests from the Query Builder.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public object RouteValues { get; set; }

Property Value

Type Description
Object

An object containing the Controller and Action names.

Remarks

The following code snippet demonstrates how to specify the RouteValues property.

@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 application.

See Also