I use
[Parameter] public RenderFragment GridCommandColumn { get; set; }
and
<GridCommandColumn >
<GridCommandButton Command="Edit" Icon="edit" />
@GridCommandColumn
</GridCommandColumn>
I get the following compiler error:
Unrecognized child content inside component 'TelerikGrid'.
The component 'TelerikGrid' accepts child content through the following top-level items: 'GridAggregates', 'GridColumns', 'GridToolBar', ...
I don't understand why the compiler says that @GridCommandColumn needs to be a TelerikGrid RenderFragment.
I would think this is "my" RenderFragment, and the TelerikGrid would only see the rendered GridCommandButtons.
Is there some way to let a parent component insert GridCommandColumns into my <TelerikGridWrapper>?
[Parameter] public RenderFragment GridCommandColumn { get; set; }
and
<GridCommandColumn >
<GridCommandButton Command="Edit" Icon="edit" />
@GridCommandColumn
</GridCommandColumn>
I get the following compiler error:
Unrecognized child content inside component 'TelerikGrid'.
The component 'TelerikGrid' accepts child content through the following top-level items: 'GridAggregates', 'GridColumns', 'GridToolBar', ...
I don't understand why the compiler says that @GridCommandColumn needs to be a TelerikGrid RenderFragment.
I would think this is "my" RenderFragment, and the TelerikGrid would only see the rendered GridCommandButtons.
Is there some way to let a parent component insert GridCommandColumns into my <TelerikGridWrapper>?