Select theme:
Radzen Blazor Studio has replaced Radzen as the primary RAD tool for Blazor applications.
Radzen Blazor Studio offers a modern UI, enhanced features, and improved performance to streamline your development process.
The latest documentation for Radzen Blazor Studio is available here: https://www.radzen.com/blazor-studio/documentation/
Open Radzen Blazor Studio docsThis guide demonstrates how to filter DataGrid records by multiple fields as you type.
Create new application and add new MSSQL data-source connected to Northwind database.
Drop DataGrid component to Radzen design surface, bind it to Customers.
Drop TextBox component above DataGrid, set width to 100%
and Search ...
for placeholder
Create the following Reload
method in the page partial class and define custom @oninput
attribute for the TextBox component equal to @Reload
.
public partial class CustomersComponent
{
string search = "";
protected async Task Reload(Microsoft.AspNetCore.Components.ChangeEventArgs args)
{
search = $"{args.Value}";
await Load();
}
}
Open Page Load query builder and define filter for CustomerID
or CompanyName
using TextBox component value as expession.
Run the application to filter customers
Radzen is free to use. You can also test the premium features for 15 days.
Start FreeSelect theme: