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.2.dll
Declaration
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