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

RadGridView Performances Issue with RadDocking Q3 2011

2 Answers 160 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bernard
Top achievements
Rank 1
Bernard asked on 04 Jan 2012, 09:33 AM
Hi,

We are using some RadGridView in multiple RadDocking Panes.
Thoses grids have over 1000 items and we got an serious performance issue when switch between panes (hosted in DocumentHost). It takes about 1-2sec before displaying the pane.

I don't understand since in Q2 2011 it works pretty much. But now in Q3 2011 it's really slow.

The grid is quite simple :

<Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="500"/>
                    </Grid.RowDefinitions>
                    <GroupBox Header="Recherche"  Margin="5">
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="Filtre" Margin="5"/>
                            <TextBox x:Name="txtFilter" Margin="5" Width="200"/>
                        </StackPanel>
                    </GroupBox>
 
                    <telerik:RadGridView Grid.Row="1" Height="500" ShowGroupPanel="False" IsFilteringAllowed="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" ValidatesOnDataErrors="None" FilterTextBox:TextBoxFilterBehavior.TextBox="{Binding ElementName=txtFilter}"  SelectedItem="{Binding SelectedItem}" IsReadOnly="True" RowIndicatorVisibility="Collapsed"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding ItemList}" AutoGenerateColumns="False">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="MouseDoubleClick" >
                                <ei:CallMethodAction TargetObject="{Binding}"  MethodName="EditCommand"/>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
 
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn Width="100" Header="Code" DataMemberBinding="{Binding Code}" UniqueName="Code"/>
                            <telerik:GridViewDataColumn Width="450" Header="Désignation Longue" DataMemberBinding="{Binding LongName}"/>
                            <telerik:GridViewCheckBoxColumn Width="80" Header="Bloqué" DataMemberBinding="{Binding IsLocked}" UniqueName="IsLocked"/>
                        </telerik:RadGridView.Columns>
                         
                    </telerik:RadGridView>
                </Grid>

I've tested to remove the GridViewCheckBoxColumn, without luck.

When me application window is sized to the minimum in order to display only 1 row in the grid, it's really fast, but in full screen (displaying about 30 items visible) it's really slow...

Any help ?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 04 Jan 2012, 09:52 AM
Hello,

RadPane has a property "IsContentPreserved". If you set it to "True" this will eliminate RadDockPanel's content loading every time when switching between RadDock panels.
Let me know if this does not help.

Kind regards,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Bernard
Top achievements
Rank 1
answered on 04 Jan 2012, 10:04 AM
Hello,

Yes it works really fast now !

Thanks. :)
Tags
GridView
Asked by
Bernard
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Bernard
Top achievements
Rank 1
Share this question
or