Hi, i use a TelerikGrid component and i would like to change the UI on grid selection change, so i have:
<TelerikGrid @ref="Grid" ... />
...
@if (Grid?.SelectedItems.Count() > 0)
{
<span>There are items selected!</span>
}
but the message is never displayed even when i select rows on grid.
I noted who if i bind the event SelectedItemsChanged then the SelectedItems property is updated correctly, and the message is diplayed:
<TelerikGrid @ref="Grid" SelectedItemsChanged="@OnSelectedItemsChanged" ... />
...
@if (Grid?.SelectedItems.Count() > 0)
{
<span>There are items selected!</span>
}
Why i need to bind SelectedItemsChanged event even if don't use it?
Thanks