Hello all.
I'm trying to display rowdetails in a nice tabcontrol.
I can display the rowdetails without any flaw using this method, but only if my grid is not wrapped in a tabcontrol:
XAML
Code
As i work in VB, and i'm just switching to WPF, i can't seem to find some decent exaples how to do this action while using a tabcontrol in my rowdetails. So what i need is to wrap my grid in a radtabcontrol, and then get the same output, in a tab, like this
I'm looking towards your answer to this.
Greetings
I'm trying to display rowdetails in a nice tabcontrol.
I can display the rowdetails without any flaw using this method, but only if my grid is not wrapped in a tabcontrol:
XAML
<telerik:RadGridView.RowDetailsTemplate>
<DataTemplate x:Name=
"TrackGrid"
>
<telerik:RadGridView Name=
"innerGrid"
></telerik:RadGridView>
</DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>
Code
Dim
club
As
New
.Album
club = TryCast(RadGridView1.SelectedItem, Album)
Dim
innerDataGrid
As
RadGridView = TryCast(e.DetailsElement, RadGridView)
innerDataGrid.ItemsSource = Track.GetAll(club.AlbumID)
As i work in VB, and i'm just switching to WPF, i can't seem to find some decent exaples how to do this action while using a tabcontrol in my rowdetails. So what i need is to wrap my grid in a radtabcontrol, and then get the same output, in a tab, like this
<telerik:RadGridView.RowDetailsTemplate>
<DataTemplate x:Name=
"TrackGrid"
>
<telerik:RadTabControl>
<telerik:RadTabItem>
<telerik:RadGridView Name=
"innerGrid"
></telerik:RadGridView>
</telerik:RadTabItem>
</telerik:RadTabControl>
</DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>
I'm looking towards your answer to this.
Greetings