# CustomComponent usage

**URL:** <https://forum.radzen.com/t/customcomponent-usage/6219>\
**Category:** Radzen.Blazor Components\
**Created:** [January 6, 2021, 1:18pm UTC](https://forum.radzen.com/t/customcomponent-usage/6219 "2021-01-06T13:18:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim](https://forum.radzen.com/user_avatar/forum.radzen.com/kim/32/9988_2.png) [@kim](https://forum.radzen.com/u/kim)\
**Post date:** [January 6, 2021, 1:18pm UTC](https://forum.radzen.com/t/customcomponent-usage/6219/1 "2021-01-06T13:18:02Z")

</div>

Hello [@Team](https://forum.radzen.com/groups/team),

How can I bind a component to the CustomComponent when inside of a DataList template?

My attempts have been unsuccessful so far. There seems to be a bug too:

 ![image](https://forum.radzen.com/uploads/default/original/2X/f/f1059bfcf928be5f5d2fa7ea9e9da77c700fb0ff.png)  
 ![image](https://forum.radzen.com/uploads/default/original/2X/c/cad68c83363c63d1b38aa9e8af1edc4b492a488f.png)

Initially I was using an iframe, but it's starting to become a mess. Maybe this component can fit better my needs.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 6, 2021, 1:29pm UTC](https://forum.radzen.com/t/customcomponent-usage/6219/2 "2021-01-06T13:29:05Z")

</div>

You can specify class name or Page using Source property - not sure why you want to assign a data item property value to this. More info can be found here:

> **[CustomComponent](https://www.radzen.com/documentation/blazor/customcomponent/)**
>
> CustomComponent properties.

---

<div class="post-metadata">

**Author:** ![kim](https://forum.radzen.com/user_avatar/forum.radzen.com/kim/32/9988_2.png) [@kim](https://forum.radzen.com/u/kim)\
**Post date:** [January 6, 2021, 2:12pm UTC](https://forum.radzen.com/t/customcomponent-usage/6219/3 "2021-01-06T14:12:02Z")

</div>

The components are created by the user and a list containing a bunch of them is binded to the DataList component. I've read the documentation myself, but it doesn't cover what I'm trying to achieve. It's OK tough, iframe it is then.
