I have a master detail page that I have manually created. The detail section requires the users to select from a drop down (the type) then enter a description. Pressing Add, adds the data to an item in the List. I then want the List displayed in the gird.
Here is the definition of the class for the List item…
What have I done wrong, a List implements IEnumerable, so I don’t get the VS error and the Radzen error Invalid expression term ‘>’ doesn’t help either.
Nothing is written to the DB until the whole page is completed.
you are trying to assign IEnumerable<IList<T>> to DataGrid Data property while you need only IEnumerable<T>. The grid cannot be bound to collection of collections. What is your TItem attribute at the moment?
I'm not binding it to a collection of collections, Radzen is adding that code. Look at the Set Property snippet, I'm binding it to a list, which is the TItem:
We investigated the issue and confirm it is a bug in Radzen. The following is a viable workaround:
Open the Set property action that initializes the details property and change Property type from List<Recroledetailview> to IEnumerable<Recroledetailview>
Select the DataGrid and clear its Data property.
Set it again to ${details}.
We will try to fix the problem with incorrectly inferring the argument of List properties.