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

RadTabControl within RadGridView.RowDetailsTemplate does not show up

3 Answers 146 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alex Wang
Top achievements
Rank 1
Alex Wang asked on 16 Aug 2010, 05:54 PM
Hi,

I placed RadTabControl inside <telerik:RadGridView.RowDetailsTemplate> tag. But it doesn't show up.
Do I miss anything?

Thanks,

                    <telerik:RadGridView.RowDetailsTemplate>
                        <DataTemplate>
                            <telerik:RadTabControl x:Name="RadTabControl1" BackgroundVisibility="Visible" Margin="10" VerticalAlignment="Center" Background="Transparent">
                                <telerik:RadTabItem Header="Tab1" DataContext="{Binding}" Margin="10,0,0,0" Height="24" Foreground="Black">
                                    <TextBlock Text="Tab1" Margin="5,10,0,0" FontWeight="Bold" />
                                </telerik:RadTabItem>
                                <telerik:RadTabItem Header="Tab2" DataContext="{Binding}" Margin="10,0,0,0" Height="24" Foreground="Black">
                                    <TextBlock Text="Tab2" Margin="5,10,0,0" FontWeight="Bold" />
                                </telerik:RadTabItem>
                                <telerik:RadTabItem Header="Tab3" DataContext="{Binding}" Margin="10,0,0,0" Height="24" Foreground="Black">
                                    <TextBlock Text="Tab3" Margin="5,10,0,0" FontWeight="Bold" />
                                </telerik:RadTabItem>
                            </telerik:RadTabControl>     
                        </DataTemplate>
                    </telerik:RadGridView.RowDetailsTemplate>    

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 17 Aug 2010, 09:32 AM
Hi Alex Wang,

I have tested the issue using the code snippet you have sent. Unfortunately, I was not able to reproduce it and the RadTabControl appears as expected with all its three RadTabItems. 
So, in order to be able to provide you with an appropriate solution, I would need more details about your project and its setting. It would be great if you could send us a sample project so that we could see your exact requirements.
 

Regards,
Maya
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
0
Alex Wang
Top achievements
Rank 1
answered on 17 Aug 2010, 03:40 PM
Hi,

I think that I have missed <telerik:GridViewToggleRowDetailsColumn /> tag while

RowIndicatorVisibility is set to

 

 

"Collapsed" in GridView control.

Tks,

 

  
0
Maya
Telerik team
answered on 17 Aug 2010, 06:34 PM
Hello Alex Wang,

Indeed when setting the RowIndicatorVisibility Property of RadGridView to "Collapsed", you have to add a  GridViewToggleRowDetailsColumn for showing the RowDetails. You can find more details about RowDetails in our online documentation and in our demos.

Best wishes,
Maya
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
Alex Wang
Top achievements
Rank 1
Answers by
Maya
Telerik team
Alex Wang
Top achievements
Rank 1
Share this question
or