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

vertical ScrollViewer non Visible

4 Answers 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
dennis
Top achievements
Rank 1
dennis asked on 28 Apr 2010, 03:43 PM
I have a gridview inside a usercontrol inside a elementhost, i tried to activate tha vertical scrollbar but nothing happens. I setted the property Scrollviewer.verticalscrollbar = visible (i dont remember the exact sentence right now). but doesnt show up.

IM using las version.

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 28 Apr 2010, 03:50 PM
Hi,

Can you post your XAML? This can happen if the grid is measured with infinity height - for example inside StackPanel or ScrollViewer.

Sincerely yours,
Vlad
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
dennis
Top achievements
Rank 1
answered on 29 Apr 2010, 12:36 AM
<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"   
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:sys="clr-namespace:System;assembly=mscorlib"   
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"   
             xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"   
             xmlns:ee="http://schemas.microsoft.com/expression/2010/effects"   
             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"   
             xmlns:System_Drawing="clr-namespace:System.Drawing;assembly=System.Drawing"   
             xmlns:INTERNET_CASINO_GUI="clr-namespace:INTERNET.CASINO.GUI"   
             x:Name="userControl" x:Class="INTERNET.CASINO.GUI.WPFInterop.PlayerReports"   
             mc:Ignorable="d" 
             d:DesignHeight="561" d:DesignWidth="865" Background="White" >  
    <UserControl.Resources>  
        <ResourceDictionary>  
            <ResourceDictionary.MergedDictionaries>  
                <ResourceDictionary Source="Styles.xaml"/>  
            </ResourceDictionary.MergedDictionaries>  
        </ResourceDictionary>  
    </UserControl.Resources>  
    <Grid x:Name="LayoutRoot">  
        <VisualStateManager.CustomVisualStateManager>  
            <ei:ExtendedVisualStateManager/>  
        </VisualStateManager.CustomVisualStateManager>  
        <i:Interaction.Triggers>  
            <i:EventTrigger>  
                <ei:GoToStateAction TargetObject="{Binding ElementName=userControl}" StateName="DialogHidden" UseTransitions="False"/>  
            </i:EventTrigger>  
        </i:Interaction.Triggers>  
        <VisualStateManager.VisualStateGroups>  
            <VisualStateGroup x:Name="DialogVisualStateGroup">  
                <VisualStateGroup.Transitions>  
                    <VisualTransition GeneratedDuration="0"/>  
                    <VisualTransition GeneratedDuration="0" To="DialogHidden"/>  
                    <VisualTransition From="DialogHidden" GeneratedDuration="0:0:0.7" To="DialogVisible">  
                        <VisualTransition.GeneratedEasingFunction>  
                            <QuarticEase EasingMode="EaseOut"/>  
                        </VisualTransition.GeneratedEasingFunction>  
                        <Storyboard>  
                            <DoubleAnimation Duration="0:0:0.7" From="5" To="5" Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)" Storyboard.TargetName="GridReports">  
                                <DoubleAnimation.EasingFunction>  
                                    <QuarticEase EasingMode="EaseOut"/>  
                                </DoubleAnimation.EasingFunction>  
                            </DoubleAnimation>  
                            <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.IsEnabled)" Storyboard.TargetName="GridReports">  
                                <DiscreteBooleanKeyFrame KeyTime="0" Value="False"/>  
                            </BooleanAnimationUsingKeyFrames>  
                        </Storyboard>  
                    </VisualTransition>  
                    <VisualTransition From="DialogVisible" GeneratedDuration="0:0:0.7" To="DialogHidden">  
                        <VisualTransition.GeneratedEasingFunction>  
                            <QuinticEase EasingMode="EaseIn"/>  
                        </VisualTransition.GeneratedEasingFunction>  
                    </VisualTransition>  
                </VisualStateGroup.Transitions>  
                <VisualState x:Name="DialogHidden">  
                    <Storyboard>  
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="GridHistoric">  
                            <EasingDoubleKeyFrame KeyTime="0" Value="780"/>  
                        </DoubleAnimationUsingKeyFrames>  
                    </Storyboard>  
                </VisualState>  
                <VisualState x:Name="DialogVisible">  
                    <Storyboard>  
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(BlurEffect.Radius)" Storyboard.TargetName="GridReports">  
                            <EasingDoubleKeyFrame KeyTime="0" Value="5"/>  
                        </DoubleAnimationUsingKeyFrames>  
                        <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.IsEnabled)" Storyboard.TargetName="GridReports">  
                            <DiscreteBooleanKeyFrame KeyTime="0" Value="False"/>  
                        </BooleanAnimationUsingKeyFrames>  
                    </Storyboard>  
                </VisualState>  
            </VisualStateGroup>  
        </VisualStateManager.VisualStateGroups>  
        <Grid x:Name="GridReports">  
            <Grid.RowDefinitions>  
                <RowDefinition Height="50"/>  
                <RowDefinition Height="150"/>  
                <RowDefinition/>  
            </Grid.RowDefinitions>  
            <Grid.Effect>  
                <BlurEffect Radius="0"/>  
            </Grid.Effect>  
            <Border BorderThickness="1" Margin="15,8,15,0" VerticalAlignment="Top" CornerRadius="5">  
                <Border.Background>  
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">  
                        <GradientStop Color="#FF838383" Offset="0"/>  
                        <GradientStop Color="#FF585858" Offset="1"/>  
                        <GradientStop Color="#FF4C4C4C" Offset="0.491"/>  
                        <GradientStop Color="#FF232323" Offset="0.5"/>  
                    </LinearGradientBrush>  
                </Border.Background>  
                <Grid>  
                    <Button Content="Cerrar" Width="77" HorizontalAlignment="Right" Margin="0,8,8,0" d:LayoutOverrides="Width" Click="Cerrar_Click" Height="23" VerticalAlignment="Top"/>  
                    <TextBlock TextWrapping="Wrap" Text="Desde:" HorizontalAlignment="Left" Width="50" Margin="8,13,0,0" Height="23" VerticalAlignment="Top" Foreground="White" />  
                    <TextBlock TextWrapping="Wrap" Text="Hasta:" HorizontalAlignment="Left" Width="50" Margin="219,11,0,0" Height="23" VerticalAlignment="Top" Foreground="White" />  
                    <Button Content="Buscar" Width="132" HorizontalAlignment="Right" Margin="0,8,89,0" Click="Buscar_Click" Height="23" VerticalAlignment="Top" IsDefault="True" />  
                    <telerik:RadDatePicker x:Name="DatePickerHasta" Margin="260,9,0,0" HorizontalAlignment="Left" Width="125" VerticalAlignment="Top" />  
                    <telerik:RadDatePicker x:Name="DatePickerDesde" HorizontalAlignment="Left" Margin="58,9,0,0" Width="125" VerticalAlignment="Top" />  
                </Grid>  
            </Border>  
            <Grid Margin="8,0" Height="150" VerticalAlignment="Top" Grid.Row="1">  
                <telerik:GridViewDataControl x:Name="DataGridGeneral" Margin="8" ShowGroupPanel="False" IsFilteringAllowed="False"   
                    RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" CanUserSortColumns="False" 
                    ShowColumnFooters="True"   
                    IsReadOnly="True">  
                    <telerik:GridViewDataControl.Columns>  
                        <telerik:GridViewDataColumn DataFormatString="{}{0:d}" Header="Fecha" UniqueName="Fecha" Width="120" HeaderTextAlignment="Center" >  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:CountFunction Caption="Totales:  " />  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="Bets" UniqueName="Bets" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right" >  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:SumFunction SourceField="Bets"/>  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="Balance" UniqueName="Balance" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:SumFunction SourceField="Balance"/>  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="FWins" UniqueName="FWins" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:SumFunction SourceField="FWins"/>  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="NWins" UniqueName="NWins" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:SumFunction SourceField="NWins"/>  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="DGameWin" UniqueName="DGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:SumFunction SourceField="DGameWin"/>  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="TWin" UniqueName="TWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                            <telerik:GridViewDataColumn.AggregateFunctions>  
                                <telerik:SumFunction SourceField="TWin"/>  
                            </telerik:GridViewDataColumn.AggregateFunctions>  
                        </telerik:GridViewDataColumn>  
                        <telerik:GridViewDataColumn Header="Tipo" UniqueName="Tipo" Width="80" TextAlignment="Center" HeaderTextAlignment="Center"/>  
                        <telerik:GridViewDataColumn Width="40">  
                            <telerik:GridViewDataColumn.CellTemplate>  
                                <DataTemplate>  
                                    <Button Content="..." Click="Mostrar_Click" />  
                                </DataTemplate>  
                            </telerik:GridViewDataColumn.CellTemplate>  
                        </telerik:GridViewDataColumn>  
                    </telerik:GridViewDataControl.Columns>  
                </telerik:GridViewDataControl>  
            </Grid>  
            <Border BorderThickness="1" Margin="8,0,8,8" CornerRadius="5" Grid.Row="2">  
                <Border.Effect>  
                    <DropShadowEffect/>  
                </Border.Effect>  
                <Grid>  
                    <TabControl x:Name="TabParent" Canvas.Left="8" Canvas.Top="8" Margin="8,0">  
                        <TabItem Header="Juegos">  
                            <Grid Background="#FFE5E5E5">  
                                <TabControl Margin="0">  
                                    <TabItem Header="Juego">  
                                        <Grid Background="#FFE5E5E5">  
                                            <telerik:GridViewDataControl x:Name="DataGridJuego" Tag="0" ShowColumnFooters="True" ShowGroupPanel="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" CanUserSortColumns="False" Margin="0" 
                                                                         ScrollViewer.VerticalScrollBarVisibility="Visible" IsReadOnly="True" >  
                                                <telerik:GridViewDataControl.Columns>  
                                                    <telerik:GridViewDataColumn DataFormatString="{}{0:d}" Header="Juego" UniqueName="Tipo" Width="100" HeaderTextAlignment="Center" >  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:CountFunction Caption="Totales:  " />  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="Bets" UniqueName="Bets" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right" >  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="Bets"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="Balance" UniqueName="Balance" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="Balance"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="FGameWin" UniqueName="FGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="FGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="NGameWin" UniqueName="NGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="NGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="DGameWin" UniqueName="DGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="DGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="TWin" UniqueName="TWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="TWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Width="120">  
                                                        <telerik:GridViewDataColumn.CellTemplate>  
                                                            <DataTemplate>  
                                                                <Button Content="Historial..." Click="Detalle_Click" />  
                                                            </DataTemplate>  
                                                        </telerik:GridViewDataColumn.CellTemplate>  
                                                    </telerik:GridViewDataColumn>  
                                                </telerik:GridViewDataControl.Columns>  
                                            </telerik:GridViewDataControl>  
                                        </Grid>  
                                    </TabItem>  
                                    <TabItem Header="Jugador">  
                                        <Grid Background="#FFE5E5E5">  
                                            <telerik:GridViewDataControl x:Name="DataGridJugador" Tag="1" ShowColumnFooters="True" ShowGroupPanel="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" CanUserSortColumns="False" Margin="0" 
                                                                         ScrollViewer.VerticalScrollBarVisibility="Visible" IsReadOnly="True" >  
                                                <telerik:GridViewDataControl.Columns>  
                                                    <telerik:GridViewDataColumn DataFormatString="{}{0:d}" Header="Jugador" UniqueName="Tipo" Width="100" HeaderTextAlignment="Center" >  
                                                        <telerik:GridViewDataColumn.CellTemplate>  
                                                            <DataTemplate>  
                                                                <TextBlock>  
                                                                    <Hyperlink Click="Hyperlink_Click">  
                                                                            <TextBlock Text="{Binding Tipo}" />  
                                                                    </Hyperlink>  
                                                                </TextBlock>  
                                                            </DataTemplate>  
                                                        </telerik:GridViewDataColumn.CellTemplate>  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:CountFunction Caption="Totales:  " />  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="Bets" UniqueName="Bets" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right" >  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="Bets"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="Balance" UniqueName="Balance" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="Balance"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="FGameWin" UniqueName="FGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="FGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="NGameWin" UniqueName="NGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="NGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="DGameWin" UniqueName="DGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="DGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="TWin" UniqueName="TWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="TWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Width="120">  
                                                        <telerik:GridViewDataColumn.CellTemplate>  
                                                            <DataTemplate>  
                                                                <Button Content="Historial..."  Click="Detalle_Click" />  
                                                            </DataTemplate>  
                                                        </telerik:GridViewDataColumn.CellTemplate>  
                                                    </telerik:GridViewDataColumn>  
                                                </telerik:GridViewDataControl.Columns>  
                                            </telerik:GridViewDataControl>  
                                        </Grid>  
                                    </TabItem>  
                                    <TabItem Header="Floor">  
                                        <Grid Background="#FFE5E5E5">  
                                            <telerik:GridViewDataControl x:Name="DataGridFloor" Tag="2" ShowColumnFooters="True" ShowGroupPanel="False" IsFilteringAllowed="False"   
                                                                     RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" CanUserSortColumns="False" Margin="0" 
                                                                         ScrollViewer.VerticalScrollBarVisibility="Visible" IsReadOnly="True" >  
                                                <telerik:GridViewDataControl.Columns>  
                                                    <telerik:GridViewDataColumn DataFormatString="{}{0:d}" Header="Floor" UniqueName="Tipo" Width="100" HeaderTextAlignment="Center" >  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:CountFunction Caption="Totales:  " />  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="Bets" UniqueName="Bets" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right" >  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="Bets"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="Balance" UniqueName="Balance" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="Balance"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="FGameWin" UniqueName="FGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="FGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="NGameWin" UniqueName="NGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="NGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="DGameWin" UniqueName="DGameWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="DGameWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Header="TWin" UniqueName="TWin" Width="100" TextAlignment="Right" HeaderTextAlignment="Center" FooterTextAlignment="Right">  
                                                        <telerik:GridViewDataColumn.AggregateFunctions>  
                                                            <telerik:SumFunction SourceField="TWin"/>  
                                                        </telerik:GridViewDataColumn.AggregateFunctions>  
                                                    </telerik:GridViewDataColumn>  
                                                    <telerik:GridViewDataColumn Width="120">  
                                                        <telerik:GridViewDataColumn.CellTemplate>  
                                                            <DataTemplate>  
                                                                <Button Content="Historial..."  Click="Detalle_Click" />  
                                                            </DataTemplate>  
                                                        </telerik:GridViewDataColumn.CellTemplate>  
                                                    </telerik:GridViewDataColumn>  
                                                </telerik:GridViewDataControl.Columns>  
                                            </telerik:GridViewDataControl>  
                                        </Grid>  
                                    </TabItem>  
                                </TabControl>  
                            </Grid>  
                        </TabItem>  
                        <TabItem Header="Caja">  
                            <Grid Background="#FFE5E5E5"/>  
                        </TabItem>  
                    </TabControl>  
                </Grid>  
            </Border>  
        </Grid> .......

All 4 Grid's behave in the same way
0
Vlad
Telerik team
answered on 29 Apr 2010, 07:14 AM
Hello,

Please use RadGridView instead GridViewDataControl.

All the best,
Vlad
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
dennis
Top achievements
Rank 1
answered on 29 Apr 2010, 02:14 PM
Yes, that was the problem. but why it created with that name?, i dragged it from the toolbox.

Well thanks !
Tags
GridView
Asked by
dennis
Top achievements
Rank 1
Answers by
Vlad
Telerik team
dennis
Top achievements
Rank 1
Share this question
or