I am tryng to use the datalist to display content from EF core. I have this code:
<RadzenDataList WrapItems="true" AllowPaging="true" Data="@GetTestimonials()" TItem="Testimonials"> <Template Context="testimonial"> <RadzenCard Style="width:300px;"> <div class="row"> @testimonials. </div> </RadzenCard> </Template> </RadzenDataList>
However, on the line with @testimonials. , this does not resolve to my object to display its properties. I am basically trying to do what's done in MVC and enumerate a model property.