Datalist enumerate object

Hi,
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.

Hi @Gurdip_sira,

Your context is named testimonial but you are trying with @testimonials. Try with @testimonial.

Same thing, I was just experimenting different things to fix the error.

What am I missing?

What is the actual error?

Cannot resolve 'symbol'.

Everything else in the markup works fine, all other objects and methods are resolved.

Here's a snippet, for example.

      <Template Context="t">
          <RadzenCard Style="width:300px;">
                <div class="row">
                      @t.
                    </div>

Any ideas? This is really odd.