We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Syncfusion.Windows.Forms.Grid.GridControl.get_item Failed

Thread ID:

Created:

Updated:

Platform:

Replies:

43190 Apr 18,2006 10:05 AM UTC Mar 12,2018 02:36 PM UTC WinForms 3
loading
Tags: GridControl
Jia Bin
Asked On April 18, 2006 10:05 AM UTC

Hi, I got an "Object reference not set to an instance of an object" exception on GridControl. Looks like the get_item failed, when I''m doing something like Grid[rowIndex, columnIndex]. Please refer to the call stack and the attachment. One thing I don''t understand that, even if the index is out of range, SyncFusion actually will not gives any exception, just return an empty value, from my small test problem. Does anyone have any clue? Thanks

UnsafeNativeMethod.zip

Administrator [Syncfusion]
Replied On April 18, 2006 02:45 PM UTC

Hi Jia, We could not able to reproduce the issue here. Please provide some more details or sample code illustrating the issue. The SFArrayList is by design, returns Null if index out of range. You can find it in the definition of SFArrayList. Best regards, Madhan

Dietmar Schwitalla
Replied On March 11, 2018 05:49 PM UTC

What's the Question?

I agree to the privacy policy and the terms of service.

Sindhu Nagarajan [Syncfusion]
Replied On March 12, 2018 02:36 PM UTC

Hi Dietmar, 
 
Thanks for the update.  
 
The provided information is not enough for us to understand the problem and suggest a solution. Could you please provide more information about your requirement or issue/error details if any? 
 
  
Regards, 
Sindhu  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;