User Profile & Activity

Mark Paladino Member
Page
of 5
Posted: June 3, 2010 3:57 AM

Unfortunately I am 5 weeks away from a Beta release so changing the version of the components at this stage is not an option.

Are you able to try and replicate the issue using WebGrid version 7.0.7200.304 to see if you can reproduce the error. That way you would be able to tell me if there is a work around.

Posted: May 5, 2010 8:13 PM

Hi

I have tested your sample and the row count now appears to be working correctly after deleting a row. However the row count is still incorrect when you add a row after deleting a row. I have attached a video outlining the steps to reproduce the issue using the last sample you supplied to me.

Posted: May 5, 2010 9:48 AM

Hi, just wondering if you have been able to make any progress on this issue yet?

Posted: April 22, 2010 7:25 PM

Sorry about that. I have re-uploaded my sample.

Posted: April 21, 2010 8:13 PM

Thank you for the response. I have commented the code out as you suggested but I am still receiving the error. Upon further investigation I have found that the null row object is a result of the GetRowsCount() method still returning a value which includes the deleted rows and using this value to access a row based on its index position results in a null object. The table below shows what I am finding when debugging:

Action              Actual Row Count     Expected Row Count

Add Row          1                                1

Add Row          2                                2

Delete Row      2                                1

Add Row          3                                2

 

I have modified my sample to include a text box which displays the row count. You will notice that when you delete a row the row count does not decrement. I have left the code you suggested to comment out, uncommented because we need the functionality to be able to display to the user the position of the row in the grid.

In summation the problem is being caused by the fact that the GetRowsCount() method is including deleted rows.

Posted: April 21, 2010 1:38 AM

Hi I have recently downloaded the 2009 R2 SP1 install and applied all hotfixes available as it was my understanding that this issue would be resolved in this version. However I have tested this and I am still getting a null object error.

I have attached an example to replicate the issue. To replicate please do the following:

1. Click the add button and from the Web Dialog Box, select an item and click OK. This will add a row to the grid.

2. Repeat step 1 to add a second item to the grid.

3. Delete the 1st row

4. Repeat step 1. Upon clicking the OK button you will receive the null object javascript error.

If I have implemented something incorrectly please modify the sample to indicate how to resolve this issue.

Posted: November 18, 2009 9:26 PM

Sorry Yudi I do not have any emails in my junk folder. Maybe it is being blocked by my IT Department. Can you please try sending it from an intersoftpt.com account with the subject Intersoft WebGrid Hot Fix?

Posted: November 18, 2009 7:10 PM

Hi Yudi, I did not receive any email regarding a hotfix. I can wait for the hotfix to be officially released as long as this is going to happen before the end of the year.

Posted: November 12, 2009 10:46 PM

Thanks for the reply. Is it the default behaviour of the grid to always highlight every row in the grid grey after calling AddPendingChanges() from the client side even if HighlightChanges is set to false?

 This is happening on every grid in my application not just grids that have a row checker column.

Posted: November 12, 2009 8:49 PM

Thanks. Can you please give me an estimated date on when the upcoming hotfix will be released?

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