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,
i have developed a web part for sharepoint (2007) that uses your webgrid(ver 7).
This kind of project is quite complex and uses sql server 2005 data and xml files.
For this reasons i'm almost unable to provide any relevant code to recreate my issue.
The issue is quite simple: internet explorer on windows XP hangs up, the browserfreezes and the process cpu usage goes in few seconds to 90/95%.
Leaving ie working, minimized or not, does not change anything. The only wayto stop ie is to kill the process.The same happens with firefox(latest version).
I also have other pages on my solution and in some of them everything worksperfectly.
Now, i have started tests using different operating systems and differentversions of browser and i tried a lot of cases.
Tested operating systems areWindows XPWindows 2003Windows 20087
Browser versionsIE 7.0 on XP and w2003 (1)IE 8.0 on 7 and w2008 (2)
Only in (1) i have experienced CPU problems and only for few specific pages.I'm almost sure that is a javascript problem, using firebug i was able toisolate a row of an embedded javascript.
The behaviour using the javascript debugger is this:pause -> i see that line X is in executionplay (5 secs)pause -> same line as aboveplay (5 secs)pause -> always same line as aboveand so on.
I will paste at the end of this message the line of script, but for me is quite useless due to the fact of beeing obfuscated.
The weird is that the pages that hang with ie 7.0, have no problems with ie 8
More infos i can provide are these- the grid in the hanging page has around 2800 rows- the grid has 5 columns- only one grid is present in the page- grid is paged
Obviously in my development environment everything is ok (2008 server + ie 8) and the onlything i can do is to use js debugger.
I wrote no code for custom client event handling.
this is the definition of my grid
<%@ Register TagPrefix="webui" Namespace="ISNet.WebUI" assembly="ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" %><%@ Register TagPrefix="isnet" Namespace="ISNet" assembly="ISNet, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" %><%@ Register TagPrefix="ISWebGrid" Namespace="ISNet.WebUI.WebGrid" assembly="ISNet.WebUI.WebGrid, Version=7.0.7200.401, Culture=neutral, PublicKeyToken=3e60b85fb8502d5e" %><%@ Assembly Name="IntersoftGridProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0bde168d2d73e8b3" %> <%@ Import Namespace="IntersoftGridProvider" %>
<asp:Panel ID="PnlMain" runat="server"> <ISWebGrid:WebGrid ID="WebGrid1" DefaultStyleMode="Elegant" UseDefaultStyle="True" runat="server" DataSourceID="objDs1" > <LayoutSettings AllowAddNew="No" AllowDelete="No" AllowEdit="No" NewRowLostFocusAction="NeverUpdate" AutoFitColumns="True" AllowExport="Yes" AutoFilterSuggestion="True" AlwaysShowHelpButton="False" PromptBeforeDelete="True" RowLostFocusAction="NeverUpdate" AllowColumnMove="No" AllowFilter="Yes" AllowGrouping="Yes" AllowSelectColumns="No" AllowSorting="Yes" GroupByBoxVisible="True" RowHeightDefault="-1px" ColumnFooters="No" PagingSize="30" PagingMode="ClassicPaging" PagingStyleUI="Slider" PagingExportMode="ExportAllData" RowHeaders="No"> <TextSettings Language="UseCulture" UseLanguage="it-IT"> <%-- btw, in it-IT i see no page numbers ..... --%> </TextSettings> <RowHeaderStyle Height="0px"> </RowHeaderStyle> </LayoutSettings> </ISWebGrid:WebGrid> <asp:ObjectDataSource ID="objDs1" runat="server" TypeName="MasterDetailWebPart.Presenter.PresenterService, MasterDetailWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0bde168d2d73e8b3" SelectMethod="Select" /></asp:Panel>
Columns are dynamically added.
I have no idea if you need more informations, just ask if this is not enough.
Thank you
Matteo Ameglio
----------------- hanging javascript line snippet ----------------------
URL of hanging js:http://www.my_productionserver.com/ISRes.axd?G/WebGrid_Core.js/707200401
Thank your for the detailed report. I will pass this information to our developer for further analysis. We will inform you if there is any update or progress regarding this issue.
I tested this
<ISWebGrid:WebGrid ID="WebGrid1" DefaultStyleMode="Elegant" Width="100%" Height="100%" UseDefaultStyle="True" runat="server" DataSourceID="objDs1" >
.....
and in the container panels i set fixed dimensions.
The container WebPart has fixed width and height.
The issue is always present, the new fact is that cpu usage is lowered to 80-90% but it is always too much.
Do you have any other suggestions?
thank you
Our developer wish he could replicate the issue in our environment to analyse the issue further. If you have publish the page in the internet, perhaps you could share the URL or please send us a simple sample that could replicate the issue you are having.
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