I am converting a .Net Framework WPF app to a .Net 7 Blazor WASM app. If I specify grouping in a grid but not virtualization, it works fine. If I specify both grouping and virtualization it also works fine, except that when I undo the grouping it throws an error message: "Unhandled exception rendering component: Value cannot be empty. (Parameter 'ordering')". Other than the error message itself, everything works as I would wish.
I suspect that the problem may stem from the fact that I'm not using Entity Framework to fetch the data. Instead, I am using Rocky Lhotka's CSLA framework fronting ADO.Net access. Since CSLA produces collections that are IEnumerable and IQueryable, I can use an IQueryable connection rather than LoadData.
I note that the SortOrder parameter also has no effect, which may be a related symptom. However, I read in all the collections in the order that I want them displayed, so this presents no problem.
To sum up:
Without converting completely to EF, which is not an option, is there some way I can supply a DBContext to solve the problem?
Would switching to LoadData help?
Is there an easy way to suppress the message, which is actually the only part not working as I would wish?
If I'm reading that correctly, that's the code that sets up the grouping. My error is occurring when I UNDO the grouping by clicking on the X in the field cartouche. It undoes the grouping correctly, and goes back to the ungrouped grid, but it also throws the error message.
Are there instructions somewhere as to how to attach the Radzen.Blazor project? I'm a one man band here and haven't had occasion to connect to other people's code. I would prefer not to have to copy down all the source.
Our components are free and open source - this is how the open source world works. If you do not want to debug the exception I'm afraid that I don't have any other ideas.
I think you may have misread my reply. Your suggestion to attach to your code and see what's happening is an excellent one. I was just saying that I don't have experience working on group projects and was unsure how to go about attaching to your code.