User Profile & Activity

Alexandre Liard Member
Page
of 7
Posted: September 10, 2015 7:54 PM
Any news on this one?
Posted: September 10, 2015 7:53 PM
Hi Yudi, any news on the ASPNET-136 ?
Posted: June 18, 2015 2:34 PM

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

Posted: June 17, 2015 3:16 PM
Hi Yudi,

I took your sample as is and if you use the developer tools you will see a call to ISRes.axd with a 404.

see image attached.

Regards,

Alex
Posted: June 15, 2015 8:56 PM
We are experiencing the same problem.
We do not use Webresource at all with web grid. and even if we disabled it there is still this line is the html source of a page:

var img_0 = new Image();img_0.src = "/FDT/ISRes.axd?C/DD4_Over.gif";var img_1 = new Image();img_1.src = "/FDT/ISRes.axd?C/DD4_Active.gif";

img_0 and img_1 is are never used and are causing the axd not found issue.

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 ?

Regards,

Alex

Posted: April 17, 2015 5:39 PM
Hi Yudi,
Did you get any news on this?
Regards,
Alex
Posted: August 6, 2014 10:47 AM

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.

All times are GMT -5. The time now is 7:11 PM.
Previous Next