Latest Development Blogs
Forum Topics Post
Browse By Tag
We finally determined what was causing very slow grid performance when AutoFitColumns is false. Having a WebMenuBar object on the page causes this but no idea why this control would affect the grid in this way.
You can easily see the performance hit in the attached example. All you have to do is load the page with the menu bar and then run it by removing the menu bar and you'll see a drastic performance increate when the menu bar is gone.
I had the grid set to load 30 of 830 rows and it loaded slower, menu bar on page, than 500 of 830 with the menu bar gone.
This is a critical issue for us so we need an immediate fix please.
It is a known issue from IE. Somehow, AddStyle method is not functioning well in IE (browser limitation) and our WebMenuBar/WebToolBar are using this method. To avoid this issue, we suggested our customer to customize their style in CssClass. With this workaround, the performance would be working as expected. Please look into the modified files in your sample project for more detail. Hope this helps.
Thank you Handy. I'm working on the transition to CssClass now. I do have a question, in the case where there are two background color properties, i.e., BackColor1 and BackColor2, how do you set these in the css class? Thanks.
[UPDATE] I've confirmed that the work-around does resolve the performance issue. Thank you Handy.
Backcolor and backcolor2 are special feature in our control. They're applicable only for IE. So we used IE's native css style for that such as Gradient. If BackColor2 is not used, you only need to set background-color like usual.
Okay, I was wondering about that. Thank you.
Discover WebUI Studio® 2012
Get Started with WebUI Studio®
WebUI Studio® Edition
For ASP.NET Development
For Silverlight Development
For WPF Development
Learn More About ClientUI