Hello,for my new application, i use this example : http://samples.infragistics.com/2008.1/webfeaturebrowser/default.htm[Grid - WebGrid] -> Editing data - Row Updating.When i wrote only one row and i submit the form, it works fine.But if i add two rows and i submit the form, i have this error :
[NullReferenceException: Object reference not set to an instance of an object.] Infragistics.WebUI.UltraWebGrid.UltraGridRow.GetRowLevel(Boolean thruGroup) +61 Infragistics.WebUI.UltraWebGrid.UltraGridLayout.System.Web.UI.IStateManager.SaveViewState() +428 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.SaveViewState() +28 System.Web.UI.Control.SaveViewStateRecursive() +59 System.Web.UI.Control.SaveViewStateRecursive() +160 System.Web.UI.Control.SaveViewStateRecursive() +160 System.Web.UI.Page.SaveAllState() +466 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1676
On the demo site http://samples.infragistics.com/2008.1/webfeaturebrowser/default.htm, we have the same error.How can i solve this problem ?
Thanks.Laurent
Thanks for sharing the solution in public forums - much appreciated. I just want to tell you that NullReferenceException is a generic exception and can occur for a number of reasons. I will double check if the problem with samples (hitting Add Row twice then entering data without Primary Key causes exception) is fixed in 2008.2
A possible work around/fix has been found by using selectedRows.Clear() to wipe out any values in the selectedRows list, which is what appears to cause the problems.
I'm getting this same error when I delete a row from the underlying database during a postback event.
WombatEd said:
bigfoot said:www.infragistics.com/.../quote] This link takes me to the main page of the features browser, which apparently does all its navigation using frames. To view this sample, we need you to tell us specifically which sample to select.
This link takes me to the main page of the features browser, which apparently does all its navigation using frames.
To view this sample, we need you to tell us specifically which sample to select.
I was able to reproduce using his instructions. On the left hand side you can see the navigation. See error below:
Steps to reproduce:
On the navigation click:
bigfoot said:https://ko.infragistics.com/samples/aspnet