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
460
UltraGrid - Object References not set to an instance of an object
posted

 Here is my screenshot:

 

 i already try to put all the TRY..CATCH function, but all still unable capture the error above to debug......

Eg: InitialLayou, FormLoad, InitialRow.... etc.... all i have to put, but the exceptione error still display.

 

The problems is, sometime it will display but sometime won't.

 

Expert here, any idea? PLease for help on this[:'(] 

 

i need it urgent 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    This kind of error ususally means something raised an exception during the Paint event of the grid. These are pretty hard to debug.

    I would suggest the following:

    1) Make sure you have the latest Hot Fix.

    2) Errors like this are often caused by multi-threading. If your application is using multiple threads, then you may need to check InvokeRequired and make sure you are not causing changes that go across threads without the proper marshalling. 

Children