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

Visual Studio RC, Grid performance

5 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
KOSTAS SEFERIS
Top achievements
Rank 1
KOSTAS SEFERIS asked on 25 Feb 2010, 08:52 AM
I face a performance issue with Q1 2010 beta and Visual Studio professional Release Candidate (RC, not beta 2).

All the forms with RadGrids take a lot of time to fill the grid with data (for a grid with 100 rows, it takes appr. 30 seconds).

I am using Entity Framework. It is not due to EF, because if I replace RadGrid with MS Data Grid, it is OK.

Q3 2009 was much faster.

By the way, I installed RC because beta 2 stopped working after the installation of Q1 2010. I was getting a message "Visual studio has stopped working" which I could not debug because VS Debuger also could not start. I tried to solve it by reseting VS settings but it didn't work. So, I uninstalled VS Beta 2 and installed VS RC.

Thanks.

5 Answers, 1 is accepted

Sort by
0
KOSTAS SEFERIS
Top achievements
Rank 1
answered on 25 Feb 2010, 10:05 AM
I think the problem is more generic.

I uninstalled Q1 2010 and installed back Q3 2009. The grid is very slow (fill with data, scrolling, sorting)

It seems there are performance issues with  RadGrid and  VS Release Candidate.


0
Vlad
Telerik team
answered on 25 Feb 2010, 10:09 AM
Hello,

Can you post the grid/window definition and how the grid is bound in your case?

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
KOSTAS SEFERIS
Top achievements
Rank 1
answered on 25 Feb 2010, 06:23 PM
Here it is.

It is a very simple window.

Thanks for your attention.


<Window x:Class="big_entity_2.wtelerik" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Title="wtelerik" Height="300" Width="503" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    <Grid> 
        <telerik:RadGridView HorizontalAlignment="Left" Name="radGridView1" VerticalAlignment="Top" Height="168" Width="469" /> 
        <Button Content="Retrieve" Height="23" HorizontalAlignment="Left" Margin="0,191,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" /> 
    </Grid> 
</Window> 


 
using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Text; 
using System.Windows; 
using System.Windows.Controls; 
using System.Windows.Data; 
using System.Windows.Documents; 
using System.Windows.Input; 
using System.Windows.Media; 
using System.Windows.Media.Imaging; 
using System.Windows.Shapes; 
 
namespace big_entity_2 
    /// <summary> 
    /// Interaction logic for wtelerik.xaml 
    /// </summary> 
    public partial class wtelerik : Window 
    { 
        private 
        imaintengEntities db  = new imaintengEntities(); 
        CollectionViewSource CVS = new CollectionViewSource(); 
 
        public wtelerik() 
        { 
            InitializeComponent(); 
        } 
 
        private void button1_Click(object sender, RoutedEventArgs e) 
        { 
             
            CVS.Source = db.WORKS; 
 
            this.radGridView1.ItemsSource = CVS.View; 
 
        } 
    } 
 
0
Yordanka
Telerik team
answered on 01 Mar 2010, 12:03 PM
Hello KOSTAS SEFERIS,

Unfortunately, we are unable to reproduce your problem.  Attached is a sample project using latest binaries. Also, I have prepared a video where the problem cannot be reproduced - http://www.screencast.com/users/danche/folders/Jing/media/b2ebd86a-9def-4066-864e-b7974cf11e8a .
Please, take a look and let us know if we are missing something.

Sincerely yours,
Yordanka
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
KOSTAS SEFERIS
Top achievements
Rank 1
answered on 01 Mar 2010, 10:57 PM
OK, your example has no performance problems.

However, if you try to fill the grid with the Order Details table (2155 records) you will see the difference.  In my PC (Core Duo 2,4, 4MB Ram) it takes 20 seconds to create the grid so the user can scroll up and down. Then, scrolling is also very slow and takes 50% of the CPU time.

I'll submit a support ticket including the project.

Thanks,

Kostas


Tags
General Discussions
Asked by
KOSTAS SEFERIS
Top achievements
Rank 1
Answers by
KOSTAS SEFERIS
Top achievements
Rank 1
Vlad
Telerik team
Yordanka
Telerik team
Share this question
or