When a Ultragrid is bound to binding source and datasource set to Entity Framework Entity, the grid loads all the navigation entities as child relation. In some cases, the entity is related to many tables and when lazy loading enabled, it takes ever to load the form. I also tried setting the grid to Single band though...
So is there any way we can just bind just the parent entity and not the relational entities.
this.ultraGrid1.DisplayLayout.MaxBandDepth = 1; this.ultraGrid1.DisplayLayout.ViewStyle = Infragistics.Win.UltraWinGrid.ViewStyle.SingleBand;
It's usually a good idea to set these property at design-time, especially if you are binding the grid at design-time.