Hi all,
i am developing a page that uses two tabs and a hierarchical grid (2 levels). We have performance issues in IE8 when displaying data (about 4000 rows at first level, we cannot use pagination). The page rendering is VERY slow and when i move mouse over any grid cell, IE8 freezes for a while, this is caused by the execution of javascript functions igtbl_globalMouseMove, and cell mouse move.
Is there a way to speed up the page rendering and turn off this client side event handler. Even if i set control.DisplayLayout.ReadOnly = UltraWebGrid.ReadOnly.LevelOne, this seem to have no effect on these events.
On firefox the page loading is still very slow but the mouse move over the cell has no freeze problem.
I followed many threads trying to find the right options to improve performance with no luck.
we are using
.DisplayLayout.LoadOnDemand = UltraWebGrid.LoadOnDemand.Xml
DisplayLayout .AllowColSizingDefault = UltraWebGrid.AllowSizing.Fixed DisplayLayout.AllowColumnMovingDefault = UltraWebGrid.AllowColumnMoving.None DisplayLayout.AllowSortingDefault = UltraWebGrid.AllowSorting.No DisplayLayout .AllowUpdateDefault = UltraWebGrid.AllowUpdate.No
Thanks in advance
best regards
Hi Max, Loading all 4000 rows of WebGrid at a time would definitely cause performance issue. We recommend you to atlease apply XML scroll - Load on demand feature. Attached is the documentation link on WebGrid performance and a sample on the same.
http://help.infragistics.com/NetAdvantage/ASPNET/2009.2/CLR3.5/?page=WebGrid_Performance.html
http://samples.infragistics.com/2008.3/WebFeatureBrowser/Default.aspx
or
http://samples.infragistics.com/2008.3/WebFeatureBrowser/contents.aspx?showCode=True&t=WebGrid/XmlScrolling/WebForm1.aspx~srcview.aspx?path=../webfeaturebrowservb/WebGrid/XmlScrolling/WebForm1.src~srcview.aspx?path=WebGrid/XmlScrolling/WebForm1.src
I created a WebGrid sample with over 2000 rows and applied ClientSideEvents MouseOverHandler but, was unable to replicate the issue. Could you please share a sample or the markup in order for us to research this further.
Thank you
Swetha