Hi Telerik Team !
I have a RadGridView with rows.
I have an edit button within each rows.
When I click on the edit button I want to access on an element in the row's details view even if it has never been loaded.
I have a click event handler like this :
But when the row details has never be loaded the line _currentRowEdited.ChildrenOfType<DetailsPresenter>() returns null...
Please, how can I achieve what i want ?
Thank you in advance,
Joachim.
I have a RadGridView with rows.
I have an edit button within each rows.
When I click on the edit button I want to access on an element in the row's details view even if it has never been loaded.
I have a click event handler like this :
private
void
btnEdit_Click(
object
sender, RoutedEventArgs e)
{
GridViewRow _currentRowEdited = (sender
as
UIElement).ParentOfType<GridViewRow>();
Grid rowDetailsGrid = (Grid)_currentRowEdited.ChildrenOfType<DetailsPresenter>()[0].Content;
}
But when the row details has never be loaded the line _currentRowEdited.ChildrenOfType<DetailsPresenter>() returns null...
Please, how can I achieve what i want ?
Thank you in advance,
Joachim.