Setup: (this is based on one of Telerik's example scenarios)
Scenario:
Problem:
Question:
- One RadTabStrip with 3 tabs
- Each tab has a single PageView
- Each PageView is dynamically loaded with a UserControl
- Each UserControl contains a RadGrid
- Each RadGrid contains a "clientselectcolumn" and allows client-side row selection
Scenario:
- Select a row in grid on Tab1
- Select Tab2
- Select Tab1
Problem:
- If I were performing this operation server-side I would use code similar to the following to find the grid:
RadGrid rg =RadTabStrip1.
SelectedTab.PageView.Controls[0].FindControl("RadGrid1") - Client-side, I have been able to obtain the PageView via the onTabSelected event:
args.get_tab().get_pageView(). Unfortunately, there isn't a "findControl" method so I cannot find "RadGrid1".
Question:
- How do I find the grid on Tab1 via client-side code?