Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
UltraWinGrid - Object References not set to an instance of an object
posted

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...

 ErrorError

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...

 

Parents
No Data
Reply
  • 45049
    posted

    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?

Children