This is a migrated thread and some comments may be shown as answers.

Navigation in Firstlook Grid Details template

1 Answer 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Srujana
Top achievements
Rank 1
Srujana asked on 22 Apr 2011, 08:28 PM
Hello,

I have a question regarding the tab that is used in your details template of firstlook example of Gridview. I have couple of tab items each has a gridview with in it, I want to navigate to(or show) second tabitem when the row clicked on gridview from  frist tab item. Could you please give some assistance on how we could find a control from the parent Grid's details template. I guess this needs to implemented in RowActivated of the grid from TabItem1, I am having trouble finding the right controls.

Thanks,
SC.

 

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 25 Apr 2011, 09:32 AM
Hello Srujana,

If you add the following using directive in your cs  file :

using Telerik.Windows.Controls .

then in code you can find any child control using the ChildrenOfType<> extension method .
for example , you can get all children of type RadGridView the following way:

var childGrids = parentRow.ChildrenOfType<RadGridView().

All the best,
Pavel Pavlov
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Srujana
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or