RadzenGrid empty after RowSelect event

I'm experiencing a strange behaviour. When adding a RowSelect Event like shown in the samples, the DataGrid will be empty after the event fired, showing "No records to display".

Code is quite simple:

@page "/questionseditor"

@using AdministrationBackend.Models
@using Microsoft.EntityFrameworkCore
@inject ELearningContext db


@if (questions == null)
    <RadzenGrid @ref="grid0" Count="@count" Data="@questions" FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" Value="@selectedQuestion" AllowSorting="true" AllowFiltering="true" AllowPaging="true" PageSize="4" TItem="Question" RowSelect="@(args => selectedQuestion = args)">
            <RadzenGridColumn TItem="Question" Property="Id" Title="ID" />
            <RadzenGridColumn TItem="Question" Property="Question1" Title="Frage" />
@code {
    int count;
    Question selectedQuestion;

    IQueryable<Question> questions;

    protected override void OnInitialized()
        questions = db.Question;
        selectedQuestion = questions.FirstOrDefault();

Thank you for any hint!

ok, just after writing this post i saw the problem, it is because of the Count="@count" in the declaration of the grid.

Maybe this one has just to be declared when providing own data instead of providing an IQueryable as datasource.

Hi @BrennerThorsten,

Yep, Count can be used when retrieving data from a service for example. Here is a demo: