| I would try to measure how much time is being spent by the AdapterManager retrieving the data and how much time is spent by by the grid displaying the data, You should be able to set breakpoints in the Adapter Manager code to do this. |
First time the adapter manager takes 4-5 seconds and next time onwards it is from the cache so it is very less.
|
It might also be useful to compare with another WebGrid such as the .NET GridView. |
Tried with .NET Grid view with less columns it is rendering fast when compare to .NET Infragistics.
|
It might also be useful to see if the Adapter Manager has lost the data or has the grid lost the data.
|
Need to check, during the pagination the SelectEntities event is not firing.
Further investigation to the performance issue, i noticed that columns having TypeDescriptors are taking more time. i.e We have nested entities/classes and we are adding type descriptor columns and binding to the grid. The same infragistics control renders fast without these columns. Please find below the code we are using to add the type descriptor.
IdeaBlade.Util.PropertyDescriptorList pdl = IdeaBlade.Util.PropertyDescriptorList.Get(typeof(ABC));
pdl.Add("BusinessAddress1", "BusinessAddress.Address1");
ABCD.Business.DevForceTypeDescriptionProvider provider = new ABCD.Business.DevForceTypeDescriptionProvider(typeof(ABC));
System.ComponentModel.TypeDescriptor.AddProvider(provider, typeof(ABC));
Let us know if there is any known issues or any solution for this and the total page render takes more than 3 minutes to display which is un-acceptable to anybody.
Thanks for your time in looking into this.
Rajan R.G
|