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

Long wait between window switches

2 Answers 54 Views
Window
This is a migrated thread and some comments may be shown as answers.
Patrik
Top achievements
Rank 1
Patrik asked on 10 Nov 2010, 03:02 PM
Hello Telerik!

I have a problem here which I just can't seem to figure out.

I have two RadWindows (subclassed) populated with several RadPane panels (also subclassed) which in turn each contain a RadGridview with an arbitrary amount of data (not very much right now though), My problem is that it takes between 2-3 seconds to switch between the windows. If I remove all RadPanes the switch goes quicker.  How can I speed up this switch?  I have ran a profiler and I have debugged the code. Almost no code (i.e. my code) is executed during this switch.

See attached screenshot for example of the windows (both are identical).

best regards,
Patrik

2 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 16 Nov 2010, 08:22 AM
Hi Patrik,

I guess if you remove the RadGridViews from the RadPanes it goes fast. Are you sure the Grids have not lost their virtualization? In general the Grids create a lot of visual elements. You can find information how to speed up grid performance here.

All the best,
Pana
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
0
Patrik
Top achievements
Rank 1
answered on 16 Nov 2010, 10:30 AM
Thanks, I'll check it out!
Tags
Window
Asked by
Patrik
Top achievements
Rank 1
Answers by
Pana
Telerik team
Patrik
Top achievements
Rank 1
Share this question
or