I am looking for some examples that show how I can create a set of cards (RadCards) dynamically.
Any pointer would be appreciated.
Thanks
2 Answers, 1 is accepted
0
Peter Milchev
Telerik team
answered on 13 Oct 2020, 08:39 AM
Hello Alan,
The idea behind the RadCard is to mainly facilitate the creation of the appearance of a card, and provide the developer with the flexibility of reordering the items in the most convenient for the requirements way.
With that said, the Card control does not have data binding functionality. Nevertheless, the card components are server-side controls also, so you can access them either via the Controls collection of the card or directly by using the .FindControl() method of the card. Then, you can set the desired values to the needed elements.
Depending on your case, you can place the Card in a template of another control and use DataBinder to set the text of the element.
Let me know if you have any other use cases or any possible use cases that could benefit the community. We will review them and try to either document them with examples or improve the Card control itself.
Regards,
Peter Milchev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.