RadzenDataList run code on each item

Hi,

I usually use foreach to repeat images down the page.

I would like to use RadzenDataList component, but I have some logic to perform on each item before it is displayed. (Like building the file name from the field values of objects in the list.)

Is there an event like in WebForms for "OnRowDataBound" where I can put code to run for each item in the list? Or can I include it in the Template somehow?

Thanks,
Mike

Yes, you can use code blocks in the template itself:

Thank you - that worked great!

Mike