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,We just ran in the same issue while replacing our Menu component for Telerik's menu. Everything works fine, as long as the page doesn't include a WebGrid or WebTextEditor, then we get stuck with a bunch of JavaScript errors.I would like to know what hapenned with this issue, what was the conclusion? Was there any solution found for this?Regards,Alexandre
Hi Leo,
I understand what you said but we also think that you could save a lot of CPU processing by not doing the indexOf every time you add a row in WebGridDataRowCollection. When we did the profiling of your code, this was causing such a CPU usage for many minutes we notices that 90% of the time is lost doing IndexOf.By changing this my 90 000 row will not be a problem anymore.
Can we at least try with a dirtybuild what I say in order to see if it works?
Regards,
Alex
Hi,
We cannot do what you suggest for many reason. One of the reason is that the datasource is manipulated in memory before being passed to the WebGrid. We cannot let the WebGrid hit directly the database in this case.
Our problem is related to a design flaw in the webgrid. A Collection is using an ArrayList which is exponetially non performant as it grow. We suggest that you use a different type of collection in order to improve globally the performance of your webgrid.
We also looked at the MSIL of WebGridColumnCollection.Add and found that a simple change could avoid making 90 000 IndexOf which should improve the performance.
In this method, you are doing the following in order to add a row only if it is not in the collection already:
if (this.indexOf(webGridColumn) == -1) then you add the row and set its .Collection property to this.
Instead of doing the indexOf you could only check if the collection is already equals to this, it would be way more efficient.
like this:
if(webGridColumn.Collection != this) then you add the row.
We are kind of stuck with this problem and we see that there are easy way to fix it. Can we make an arrangement in order to test that in a dirty build or something with you ?
Michel,Les textes peuvents en effet être modifiés, ça fonctionne de la même manière que pour le WebGrid (via la propriété TextSettings du WebTextEditor). Par contre, ce n'est qu'une partie des textes qui peut être modifiés, il y en a plusieurs qui ne sont pas exposés (http://www.intersoftpt.com/Community/WebTextEditor/Many-texts-cannot-be-customized-translated/).Et le contrôle a aussi plusieurs problèmes avec les version de IE8 et inférieures, s'il est configuré en mode HTML5 plutôt que Quirks.
Thank you but I would like to know if you are going to resolve the issue about the grid not being able to manage an invalid date.
I think this should be addressed like a bug, the user must not see the error screen with all the stack.
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