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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Index Error in code

Thread ID:





56166 Feb 9,2007 10:09 PM UTC Feb 12,2007 03:59 PM UTC WinForms 2
Tags: GridControl
Adnan Sohail
Asked On February 9, 2007 10:09 PM UTC


I am getting this error when going scroll vetically in the grid.

error message is:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Can anyone tell me what am i doing wrong.



Administrator [Syncfusion]
Replied On February 10, 2007 12:03 AM UTC

Hi Adnan,

I have modified the sample as per your requirement. Please try the attached sample and let me know if you are looking something different.

Sample : Custom.zip

Best regards,

The Modification done in two place of the sample. One is in SampleData class indexer property( SampleData.cs)and another one is in QueryCellInfo event of the TreeGrid(TreeGrid.cs).

Adnan Sohail
Replied On February 12, 2007 03:59 PM UTC

Hi Haneef,

This is what i wanted .. thanks!


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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