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

RadGridView in RadDockManager & Virtualization

1 Answer 108 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 29 Dec 2011, 01:01 PM
Hello,
I'm using an MVVM pattern in a WPF application with RadDocking ... I've got some RadGridView inside usercontrols and they perform poorly with horizontal and vertical scroll... I've searched this forum and the problem seems to be a missing height/width on the RadGridView... since I've defined in me Shell a 1024*768 width have I for each UserCotrol to specify a default width/height? how can I set it to the parent content?

I've also some master/detail gridview that uses a behavior to fill the child RadGrid...those performs worst... have I to specify an height/width as well?

Thanks

Paolo

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 03 Jan 2012, 10:21 AM
Hi Paolo,

Indeed you are right that when the GridView is inside a panel(or a RowDetailsTemplate), it will be measured with infinity and therefore the performance will be not so good. If RadGridView is measured with infinity the virtualization turns off. 
 
As you have already read, when you set the height/width, then the GridView will not be measured with infinity. Also setting RadGridView.ColumnWidth to a specific width (like 100) will increase both horizontal & vertical scrolling performance. 

Yes, you have to set those properties for  the GridView that is in RowDetails as well.

Greetings,
Didie
the Telerik team

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

Tags
GridView
Asked by
Michele
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Share this question
or