New to Telerik UI for Blazor? Start a free 30-day trial
Filter Events
Updated on Nov 11, 2025
This article explains the available events for the Telerik Filter for Blazor:
OnUpdate
The OnUpdate event fires when the user changes the Filter Value. The component is designed for one-way binding and works directly with the object reference of the bound CompositeFilterDescriptor. The component updates the Value internally. Use the OnUpdate event to handle any additional logic when the Filter Value is modified.
Handle OnUpdate
@using Telerik.DataSource
<div class="info-note">Change any filter value to trigger the event and see the message update from the OnUpdate handler.</div>
<TelerikFilter Value="@Value" OnUpdate="@OnFilterUpdate">
<FilterFields>
<FilterField Name="@(nameof(Person.EmployeeId))" Type="@(typeof(int))" Label="Id"></FilterField>
<FilterField Name="@(nameof(Person.Name))" Type="@(typeof(string))" Label="First Name"></FilterField>
<FilterField Name="@(nameof(Person.AgeInYears))" Type="@(typeof(int))" Label="Age"></FilterField>
</FilterFields>
</TelerikFilter>
<br />
<div>
<strong>@EventMessage</strong>
</div>
<style>
.info-note {
background: #e6f4ff;
padding: 10px;
border-radius: 4px;
margin-bottom: 10px;
width: 400px;
}
</style>
@code {
private CompositeFilterDescriptor Value { get; set; } = new CompositeFilterDescriptor();
private string EventMessage { get; set; } = string.Empty;
private void OnFilterUpdate()
{
EventMessage = $"Filter updated at {DateTime.Now:HH:mm:ss}";
}
public class Person
{
public int EmployeeId { get; set; }
public string Name { get; set; } = string.Empty;
public int AgeInYears { get; set; }
}
}