GridView RowDetailsTemplate problem position children

3 posts, 0 answers
  1. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 01 Mar 2012 Link to this post

    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. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 02 Mar 2012 Link to this post

    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 >>
  3. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 06 Mar 2012 Link to this post

    This is solution :

    <telerik:RadGridView  AreRowDetailsFrozen="True" />

Back to Top