hi ,
i am using Infragistics.Win.UltraWinGrid.
In my function
{
UltraGridRow[ rows = some source;
UntraGridRow row = rows[0];
// here i am assigning the values into row
row.Cells[column] = value;
row.Update();
}
after the row.Update() - the below error is showing...
Unable to update the row:
Object reference not set to an instance of an object.
i was tried to catch up the exception .. like try-catch in row.Upate.. but that error is not catchable...
pls help me how to catch that exception..
experts , pls help to solve the isssue..
in my case , if i can to hide this issue also ok for me...
Are you using multiple threads in your application? This error might occur if you're updating the grid on a thread other than the UI thread.
Does the error show consistently with every attempt, or does it come up only intermittently?
Can you provide a stack trace? If the error shows up every time, and you're not using threading, this may help point out where to look.
Lastly, what version of the NetAdvantage toolset are you using?
I am getting the error "Unable to update row, object reference not set to an instance of an object." when i try to update a row (like row.update()) in the UltraWinGrid.
Yes, I am using Multiple threads in my application.This errors comes up intermittently. (The error not comes always, sometimes it iscoming and sometimes not.)
Stack Trace :at Infragistics.Win.UIElement.GetDescendant(Type type, Object[ contexts)at Infragistics.Win.UltraWinGrid.UltraGridCell.GetUIElement(RowScrollRegion rsr, ColScrollRegion csr, Boolean verifyElements)at Infragistics.Win.UltraWinGrid.GridItemBase.InvalidateItem(RowScrollRegion rsr, ColScrollRegion csr, Boolean recalcRects)at Infragistics.Win.UltraWinGrid.GridItemBase.InvalidateItemAllRegions(Boolean recalcRects)at Infragistics.Win.UltraWinGrid.UltraGridCell.SetValueInternal(Object value, Boolean suppressErrorMessagePrompt, Boolean fireInitializeRow, Boolean throwExceptionOnError)
at Infragistics.Win.UltraWinGrid.UltraGridCell.set_Value(Object value)
at App.ABC.UI.Report.GR.DC(UltraGridRow row)
I am using Infragistics 7.3 version