iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Eric,
I still need a little time to investigate the issue. I will let you know asap.
Regards,Handy
Hello,
AddStyle() would not be used if you customize all your style with CSS. WebToolBar/WebMenuBar provides properties which can be configured for its style. I already sent you the sample which I include all the style in CSS and set it in those properties.
<MenuStyleSettings BackgroundStripColor2="" MenuDropShadow="True" MenuAnimation="True" MenuWindowType="Normal" BackgroundStripColor="#E3EFFF"> <CustomStyle CssClass="CustomStyle"> </CustomStyle> <DisabledItemStyle> <Over CssClass="DisabledItemStyle-Over"> </Over> <Normal CssClass="DisabledItemStyle-Normal"> </Normal> </DisabledItemStyle> <CheckedItemStyle> <Over CssClass="CheckedItemStyle-Over"> </Over> <Normal CssClass="CheckedItemStyle-Normal"> </Normal> </CheckedItemStyle> <SeparatorStyle CssClass="SeparatorStyle"></SeparatorStyle> <FrameStyle CssClass="FrameStyle"> </FrameStyle> <ItemStyle> <Over CssClass="ItemStyle-Over"> </Over> <Normal CssClass="ItemStyle-Normal"> </Normal> </ItemStyle> </MenuStyleSettings> <HeaderButtonStyle> <Active CssClass="HeaderButtonStyle-Active"> </Active> <Over CssClass="HeaderButtonStyle-Over"> </Over> <Normal CssClass="HeaderButtonStyle-Normal"> </Normal> </HeaderButtonStyle> <BodyStyle BackColor="#BFDBFF"></BodyStyle> <CommandStyle> <Active CssClass="CommandStyle-Active"> </Active> <Over CssClass="CommandStyle-Over"> </Over> <Normal CssClass="CommandStyle-Normal"> </Normal> </CommandStyle> <CommandDisabledStyle CssClass="CommandDisabledStyle"> </CommandDisabledStyle> <SeparatorStyle CssClass="SeparatorStyle1"></SeparatorStyle> <HandleStyle BackColor="#BFDBFF"></HandleStyle> <OptionStyle BackColor="#C4C4AD"></OptionStyle> <HeaderCaptionStyle CssClass="HeaderCaptionStyle"> </HeaderCaptionStyle>
I will need to discuss with our developer about AutoFitColumn property. But after configure CSS, without AutoFitColumn, the performance works well.
Ok. Thank you for your understanding.
Hi,
Yes. All the style should be customized in CSS. If you don't use CSS, WebToolBar/WebMenuBar would use AddStyle() (default mechanism). As I said before, somehow this method is not functioning in IE.If you run the sample in other browser, the performance would not slow.Also, In your sample, I didn't touch anything about AutoFitColumn.
Hello Shawn,
Basen on another thread, I already explained about the issue. Perhaps, my previous explanation wasn't good enough.This performance issue is caused by WebToolBar or WebMenuBar and only shows at IE.WebToolBar or WebMenuBar use AddStyle() method to customize theirstyle. Somehow, AddStyle() method is not functioning in IE (browser limitation).In order to avoid this issue, we suggest to customize the style with CSS, include the standard style.When using standard style, AddStyle() method would be automatically activated to retrieve/set the standard style.E.g Your current simple sample.
I applied the CSS into WebToolBar and the performance works well.
Hello Maged,
I am sorry that I was not being detail in my previous post. You can change the DataKeyField with ItemID, but you also need to add ItemID in your column. This the one that caused the error.If you don't like to show ItemID column, you can set Visible false properties in that column.When you specify a datakeyfield, It must be need also added into your column. Otherwise, you will face the error.
Hello Jean,
I got a response from our developer teams. This issue happens only when you resize the window. Our WebTextEditor has its own logic mechanism to resize the toolbar. When the size is getting reduced, some of command would be hidded into "more options"dropdown button. Or, it will moved into the bottom.In other words, your scenario messed up with our resize and hide scenario.Is it possible for not using hide?Such as switch the current image with your custom image. You can also override the command.Or you can use disable command instead of hiding the command.
Would you mind to provide us a simple runable sample which can show us the issue? We need to see the comparasion result with previous version. http://www.intersoftpt.com/Community/WebGrid/WebGrid-7---Render-Performance-Extremely-Slow-When-WebMenuBar-On-Page/This customer has confirmed that the workaround resolve performance issue. So, if you said the issue has surfaced, we need more details to help you fix this issue.
Based on Martin sample, there is no field "ItemID" in his database. Also, DataKeyField is necessary to be filled. Otherwise, you will find some issue in insert, update and delete. Please fill DataKeyField properties with your current Primary key in database.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname