Hello.
To exemplify the situation I leave the following code:
<TelerikGrid TItem="@MyModel" @ref="_myMainGridReference" OnRead="@OnReadHandler" OnRowDoubleClick="@OnGridDoubleClickHandler">
<GridColumns>
- Main grid columns here -
</GridColumns>
<DetailTemplate>
@{
/* Child component inside detailtemplate => how can I reference from the code behind? */
var ctex = context as JobViewModel;
<TelerikGrid @ref="??????" Data="@ctex.data" SelectionMode="@GridSelectionMode.Multiple">
<GridColumns>
- Detail grid columns here -
</GridColumns>
</TelerikGrid>
}
</DetailTemplate>
</TelerikGrid>
I have some ideas on how to achieve this but I don't know if they are the most appropriate. For that reason I would like to know what your approach would be to solve it.
Best regards,