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

GridView RowDetailsTemplate problem position children

2 Answers 78 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.
GOURVEZ JJ
Top achievements
Rank 1
GOURVEZ JJ asked on 01 Mar 2012, 11:21 AM

Hi,

I use radgridview in my application and RowDetailsTemplate components.

In my radGridView I have 150 columns.
In my RowDetailsTemplate , I have an RadTabCOntrol.

All it's ok, but when I see the 15 rd columns, I can see my RadTabControl. But after 15 columns not.

Does it possible to defin position RadTabControl with column dysplay ?

This is my code :

<telerik:RadGridView x:Name="radgridview1" RowDetailsVisibilityMode="VisibleWhenSelected" MinHeight="400" MaxHeight="900" MinWidth="1000" MaxWidth="1600" IsScrolling="True" Filtered="eventFiltre" AutoGenerateColumns="False" ScrollMode="Deferred"  telerik:Theming.Theme="Summer" ColumnBackground="Transparent" CanUserFreezeColumns="False" CanUserResizeColumns="True" RowIndicatorVisibility="Collapsed" Margin="0,159,0,33" BorderThickness="1" RowLoaded="rowLoaded" RowEditEnded="finEcritureRadGridView"><!--                                  
                <telerik:RadGridView.RowDetailsTemplate>

     <DataTemplate>
      <telerikNavigation:RadTabControl x:Name="RadTabControl1"  HorizontalAlignment="Auto" Margin="8" VerticalAlignment="Center" MaxWidth="1150">
                           

                            <telerikNavigation:RadTabItem Header="Tab1" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheJDE}">
                                <local:fenFormulaireT1/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab2" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheT1}">
                                <local:fenFormulaireT2/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab3" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheT2}">
                                <local:fenFormulaireT3/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab4" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheT3}">
                                <local:fenFormulaireT4/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab5" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheT4}">
                                <local:fenFormulaireT5/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab6" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheT5}">
                                <local:fenFormulaireT6/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab7" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="{Binding AfficheT6}">
                                <local:fenFormulaireT7/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab8" DataContext="{Binding}" Margin="10,0,0,0" Height="24">
                                <local:fenFormulaireT8/>
                            </telerikNavigation:RadTabItem>

                            <telerikNavigation:RadTabItem Header="Tab9" DataContext="{Binding}" Margin="10,0,0,0" Height="24" IsSelected="False">
                                <local:fenFormulaireT9/>
                            </telerikNavigation:RadTabItem>

                        </telerikNavigation:RadTabControl>

     </DataTemplate>

    </telerik:RadGridView.RowDetailsTemplate>



Thanks

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 02 Mar 2012, 02:38 PM
Hi Gourvez,

 


Thank you for sharing this snippet with us! We have tried to replicate the behavior you described by our side, but with no avail. It seems pretty strange that the RadTabControl is not properly displayed within RadGridView's RowDetails. Will you please take a look at the attached project and let me know how it differs from yours? If the project does not help we will be glad if you may send us a small repro application as an attachment in a new support ticket where we can see what happens. 
I look forward to hearing from you! 




Regards,
Vanya Pavlova
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
GOURVEZ JJ
Top achievements
Rank 1
answered on 06 Mar 2012, 04:00 PM
This is solution :

<telerik:RadGridView  AreRowDetailsFrozen="True" />

Tags
GridView
Asked by
GOURVEZ JJ
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
GOURVEZ JJ
Top achievements
Rank 1
Share this question
or