User Profile & Activity

James Mackin Member
Page
of 3
Posted: March 24, 2015 1:13 PM

Hi Leo,

Thanks for helping with this so far, and I have one last request. If you could please try again to reproduce this issue, but instead delete the top row first, then the bottom row second.

It seems I was incorrect before as the second last row does not cause the issue. It seems that the issue happens when any row 2 or more above the bottom row is deleted before the bottom.

Regards,

James

Posted: March 23, 2015 1:24 PM

Hi Leo,

Unfortunately the video seems to have been corrupted so I cannot view it. If you could reupload it that would be quite helpful.

I would like to know if you used VB code for the testing or if you translated it into C#? Also could you tell me what other changes had to be made to the project in order for it to run? Perhaps you could upload your copy as well as I would like to make sure it is a close to my current code as possible to give an accurate test.

Regards,

James

Posted: March 12, 2015 2:39 PM

Hi Leo,

I have tested your sample, but it does not fix my problem, and adding the Grid.ClientAction.Refresh() code is not feasible as this fix is being made to a current application which didn't have this problem prior to version 8 of the WebGrid.

Here is a link to a sample project and database which contains the error I described earlier: https://www.dropbox.com/s/vuyas3mikkv3d4s/WebGridTest.zip?dl=0 The steps to reproduce are exactly as follows:

1. Delete any row above the bottom.

2. Delete the bottom row.

This will cause a NullReferenceException as it does on my project. As I stated earlier this should not happen as the code for my project has not changed, but the WebGrid is acting completely differently between version 7 without the issue and version 8.

Regards,

James

All times are GMT -5. The time now is 10:01 PM.
Previous Next