Hi Rikin Patel,
If your detail are shown when a row is clicked you can easily get access to the root element of the RowDetails by using RowDetailsVisibilityChanged event.For example:
sender, GridViewRowDetailsEventArgs e)
// get the root element of the RowDetails
var detailsElement = e.DetailsElement;
You can also get the same element by using the ItemsContainerGenerator:
var selectedRow = (GridViewRow)
var detailsPresenter = selectedRow.ChildrenOfType<DetailsPresenter>().FirstOrDefault();
// same as e.DetailsElement from gridView_RowDetailsVisibilityChanged
var detailsContent = detailsPresenter.Content;
One you have the detailsPresenter you can actually search for any visual element in the RowDeails template using our ChildrenOfType method.
Hope this helps.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.