Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
WebGrid client side performance
posted

Hi,

I'm willing to display a read-only grid which has 100 rows and 17 columns (5 of them hidden). I've tried two different scenarios, both results with a slow initialization on the client side (tested on IE 8 compatible mode, IE 7 and IE 6):

  • setting LoadOnDemand to "NotSet" - the entire grid is returned from the server pretty fast (less than a second) but the initialization on the client side takes more than a minute (~84 seconds).
  • setting LoadOnDemand to "XML" with Accumulative type and 30 rows limit - the grid again is being returned from the server very fast, on client side it takes 2 to 4 seconds to initialize.

4 seconds is still very slow. I've tested the same application on FF and it runs much faster (less than 1 second on both scenarios). Tested also with IE 8, no compatible mode, and it took 4.5 seconds on both scenarios. I know that IE scripting engine is much slower than FF, but unfortunately, my application uses ActiveX object so I can't allow it.

I guess what I'm looking for is a set of grid properties that will reduce the amount of scripts running on initialization of the grid so it will eventually run faster.

One more thing, the first time the grid is being loaded, it takes time to download its scripts (scriptResource.axd requests). Is there a way to call include them in the page before the grid is downloaded so they will already be on the client?

P.S. I'm using UltraWebGrid version 2009.1

Thanks,
Almes