We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies


The ASP.NET Core Query Builder is a rich and responsive UI for filtering large amounts of data by creating or editing conditions that can be combined with data visualization controls like DataGrid and Charts to view the filtered data. It outputs structured JSON filters that can be easily parsed to create SQL queries. It allows you to create conditions and group them using AND/OR logic.

Data Binding

ASP.NET Core Query Builder can be bound to data from a variety of data sources in the form of a JavaScript object array collection. It auto populates the data source and maps the data to the appropriate fields.

Integration with Data Manager

Integrating the Data Manager control with the Query Builder simplifies communication with a data source and returns the desired result based on the provided filters.

UI customization with templates

Add controls like Checkbox, Slider, and Dropdown List to to customize the Javascript Query Builder using templates.

Querybuilder with Header template.

Header template

Use the headerTemplate property to define header template which is used for customizing and/or/not operators and add rules/groups buttons using their own widgets.

Querybuilder with column template.

Rule template

Use the ruleTemplate property to define rule template which is used for customizing an entire column using their own widgets.

Querybuilder with Value template.

Value template

Use the template property to define value template which is used for customizing values using their own widgets.

Complex data binding

Complex databinding allows to create subfields for columns. It can be achievable by specifying separator property and by specfiying complex data in nested columns or specify a complex data source in the query builder.

Querybuilder complex data binding.

Model binding

Model binding binds properties for the components used in field, operator, and value columns. To implement model binding, assign fieldModel, operatorModel, and valueModel properties in the QueryBuilder.

Querybuilder model binding.

Summary View

ASP.NET Core Query Builder supports a summary view that outputs the filter query in SQL format.

Import and export

Supports importing and exporting Query Builder data to and from structured JSON and SQL formats.

Touch-friendly and Responsive

ASP.NET Core Query Builder provides a responsive mode that gives an adaptive, redesigned UI appearance for mobile devices and a great user experience on all phone, tablet, and desktop form factors.

Touch-friendly and adaptive mobile user interface


The ASP.NET Core Query Builder supports several built-in themes such as material, bootstrap, fabric (office 365), and high contrast. The users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application with ease.

ASP.NET Core Query Builder Code Example

Easily get started with ASP.NET Core Query Builder using a few simple lines of C# code, as demonstrated below. Also explore our ASP.NET Core Query Builder Example that shows you how to render and configure the ASP.NET Core Query Builder Component.

@using Syncfusion.EJ2
@section ControlsSection{
<div class="control-section">
    <ejs-querybuilder id="querybuilder" width="70%" rule="ViewBag.rule" dataSource="ViewBag.dataSource">
            <e-querybuilder-column field="EmployeeID" label="Employee ID" type="number"></e-querybuilder-column>
            <e-querybuilder-column field="FirstName" label="First Name" type="string"></e-querybuilder-column>
            <e-querybuilder-column field="TitleOfCourtesy" label="Title Of Courtesy" type="boolean" values="ViewBag.values"></e-querybuilder-column>
            <e-querybuilder-column field="Title" label="Title" type="string"></e-querybuilder-column>
            <e-querybuilder-column field="HireDate" label="Hire Date" type="date" format="dd/MM/yyyy"></e-querybuilder-column>
            <e-querybuilder-column field="Country" label="Country" type="string"></e-querybuilder-column>
            <e-querybuilder-column field="City" label="City" type="string"></e-querybuilder-column>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EJ2CoreSampleBrowser.Models;
using Syncfusion.EJ2.QueryBuilder;

namespace EJ2CoreSampleBrowser.Controllers.QueryBuilder
    public partial class QueryBuilderController : Controller
        public IActionResult DefaultFunctionalities()
            QueryBuilderRule rule = new QueryBuilderRule()
                Condition = "and",
                Rules = new List<QueryBuilderRule>()
                    new QueryBuilderRule { Label="Employee ID", Field="EmployeeID", Type="number", Operator="equal", Value = 1 },
                    new QueryBuilderRule { Label="Title", Field="Title", Type="string", Operator="equal", Value = "Sales Manager" }

            List<string> values = new List<string> { "Mr.", "Mrs." };

            ViewBag.rule = rule;
            ViewBag.values = values;
            ViewBag.dataSource = EmployeeView.GetAllRecords();
            return View();

Other supported frameworks

Query Builder is also available in Blazor, Angular, React, Vue, and JavaScript frameworks. Check out the different Query Builder platforms from the links below,

Web accessibility

  • Fully supports WAI-ARIA accessibility to work with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Follows WCAG 2.0 standards in design of the UI element visuals such as foreground color, background color, line spacing, text, and images.
  • Supports right-to-left (RTL) text direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.


Frequently Asked Questions

  • Easy to integrate with data visualization components like Grid, Charts, and more.
  • Best UI experience to create filters in the form of JSON and SQL query.
  • Supports a summary view that outputs the filter query in SQL format.
  • Supports importing and exporting Query Builder data to and from structured JSON and SQL formats.
  • Fully customizable to include other components like Checkbox, Slider, and Dropdown List using templates.
  • One of the best ASP.NET Core Query Builder in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with ASP.NET Core Query Builder.

We do not sell the ASP.NET Core Query Builder separately. It is only available for purchase as part of the Syncfusion ASP.NET Core suite, which contains over 80 ASP.NET Core components, including the Query Builder UI. A single developer license for the Syncfusion Essential Studio for ASP.NET Core suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

You can find our ASP.NET Core Query Builder demo here.

No, our 80+ ASP.NET Core components, including Query Builder UI, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Query Builder UI alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 80+ ASP.NET Core components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

A good place to start would be our comprehensive getting started documentation.

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

Syncfusion controls contain almost everything a developer could ask for, saving us time and money. All backed up by unmatched support. Syncfusion controls are a developer's dream come true.
Kevin Kerr

Kevin Kerr


double quotes

I would highly recommend using Essential Studio and have found that the Syncfusion support team is one of the fastest I have worked with.
Georg Kukula

Georg Kukula

G&W Software Entwicklung GmbH

Transform your applications today by downloading our free evaluation version Download Free Trial


Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile