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

Index Error in code

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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.

Thanks,
Adnan

Custom.zip

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,
Haneef

Note:
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!

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

;