As requested, I am posting here my response to the question from Josh:
Thank you for contacting us.
Yes, this is possible. Please take a look at the GridView - Hierarchy - Tabbed Views example in our demo application. It implements a highly similar scenario - a parent view that relates to many child views. The child views are presented in different tabs. You can find more information in this topic in our online documentation.
All you need to do is hide the desired tab programmatically. This can be done when handling theViewCellFormatting event. Please consider the code snippet below:"
sender, CellFormattingEventArgs e)
GridDetailViewCellElement cell = e.CellElement
GridViewDetailsRowInfo detailsRow = (GridViewDetailsRowInfo)cell.RowInfo;
GridViewHierarchyRowInfo hierarchyRow = (GridViewHierarchyRowInfo)detailsRow.Owner;
(hierarchyRow.Index % 2 == 0)
cell.PageViewElement.Items.Visibility = ElementVisibility.Visible;
cell.PageViewElement.SelectedItem = cell.PageViewElement.Items;
cell.PageViewElement.Items.Visibility = ElementVisibility.Collapsed;
I hope this helps. We will answer your question in your forum post.
Should you have any other questions, do not hesitate to ask.
All the best,
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>