Skip to main content

QueryBuilderSettings.SaveCallbackRouteValues Property

Specifies the names of a Controller and an Action which should handle requests from the Query Builder to save queries.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public object SaveCallbackRouteValues { 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 SaveCallbackRouteValues property.

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

See the Saving Queries topic for more information on obtaining and processing generated queries.

See Also