Back to Devexpress

IQueryBuilderInputSerializer Interface

corelibraries-devexpress-dot-dataaccess-dot-web-dot-querybuilder-feb252fd.md

latest2.0 KB
Original Source

IQueryBuilderInputSerializer Interface

The service used to deserialize client data from the Web Query Builder.

Namespace : DevExpress.DataAccess.Web.QueryBuilder

Assembly : DevExpress.DataAccess.v25.2.dll

NuGet Package : DevExpress.DataAccess

Declaration

csharp
public interface IQueryBuilderInputSerializer
vb
Public Interface IQueryBuilderInputSerializer

Remarks

When a user clicks the Save button in the Web Query Builder toolbar, the Query Builder raises the client-side SaveQueryRequested(String) event. You can use the client-side GetSaveQueryModel method to retrieve the model with the serialized data and send the model to the server-side controller method. The controller must call the IQueryBuilderInputSerializer.DeserializeSaveQueryRequest method to deserialize the model.

The complete sample project is available in the following DevExpress Examples repository on GitHub:

View Example: How to Use the Query Builder Control in an ASP.NET Core Application

See Also

IQueryBuilderInputSerializer Members

DevExpress.DataAccess.Web.QueryBuilder Namespace