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

UIElement.Measure

3 Answers 216 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 28 Feb 2011, 04:21 PM

Hi,

Base on this example:

http://www.telerik.com/community/code-library/wpf/gridview/radgridview-print-and-print-preview.aspx

I made a custom reporting service for our home application needs. I installed 2010 Q3 SP1 Telerik new controls, and I steel have problem with this specific line:

element.Measure(new Size(double.PositiveInfinity, double.PositiveInfinity));

 

When the grids as too much rows (3000 can go over 300 000) that throw a out of memories exceptions in the print preview. I read a couple of article on Telerik forum that said that this issue was supposed to be fixed in Q3…  and can be cause by GridViewRowInfo objects which occupy most of the memory…

http://www.telerik.com/community/forums/winforms/gridview/memory-usage-where-s-the-problem-in-my-code.aspx

Can you please help me with that?

Gabriel

3 Answers, 1 is accepted

Sort by
0
Accepted
Yordanka
Telerik team
answered on 02 Mar 2011, 03:33 PM
Hi Gabriel,

You can find our response to the first problem in the mentioned forum topic.

As for the your second problem, the provided forum thread concerns WinForms GridView. Could you clarify whether the problem is related to WPF GridView or to WinForms GridView ?
 
Best wishes,
Yordanka
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Gabriel
Top achievements
Rank 1
answered on 02 Mar 2011, 03:41 PM
Sorry, the problem is in WPF.
0
Chad
Top achievements
Rank 1
answered on 03 Oct 2011, 04:51 PM
For anyone looking here that doesn't see the solution, it appears that the solution is to set a fixed height on the RadGridView.
Tags
GridView
Asked by
Gabriel
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Gabriel
Top achievements
Rank 1
Chad
Top achievements
Rank 1
Share this question
or