Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > FAQ > General FAQ> Infragistics Windows Forms UltraGrid
 

Pages: 1
General FAQ
Infragistics Windows Forms UltraGrid
Page:1/1 

  Print all messages in this thread  
Poster Message
Aglaia
LLBLGen Pro Team



Location:
Scheveningen, The Netherlands
Joined on:
07-Sep-2003 21:16:00
Posted:
533 posts
# Posted on: 21-Aug-2007 14:15:24.  
Question:
When I bind an entity collection with entity objects to an Infragistics winforms control, my application hangs and crashes. When I bind the same collection to the equivalent .NET control, it works fine. What causes this?

Solution:

Infragistics controls read, when they see that objects in a binded collection contain collection properties, all the objects inside these collections as well, to a depth of 100 by default. This will thus read your entire database into memory. To avoid this, set the property MaxBandDepth of your Infragistics control to 1. Now, the control will use the lazy loading logic implemented in the entity objects.
Aglaia Kuipers, The LLBLGen Pro Team

Join the LLBLGen Pro support team!
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.