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

GridDataBoundGrid Exception

Thread ID:

Created:

Updated:

Platform:

Replies:

27237 Apr 7,2005 10:00 PM UTC Apr 8,2005 02:11 PM UTC WinForms 2
loading
Tags: Chart
Administrator [Syncfusion]
Asked On April 7, 2005 10:00 PM UTC

Greetings, In my grid I am having a problem with it catched a particular recurring exception. The error message is: catched at Syncfusion.Windows.Forms.Grid.GridComboBoxListBoxHelper.FindKey(IList thisList, PropertyDescriptor property, Object key) in :line 0 It recurs about 25-30 times and I am not sure where I should throw in the try catch to try to find it. I cant seem to find any documentation on it. Any help would be appreciated. There is a lot of code associated with this so thats why I am not posting it up. Thanks.

Administrator [Syncfusion]
Replied On April 7, 2005 11:14 PM UTC

Greetings, I would like to further describe the error. The error occurs mostly when I hover over a ComboBox that is dynamically loaded in the QueryCellInfo event of the gridModel. The code references a preloaded dataset for data and then sets the combo box''s data source accordingly. I am suspicious about the GridStyleINfo and wonder if its being invalidated somehow and recrated causing some kind of problem finding the reference to the datatable. I can provide code if needed. The things I have tried are checking to see if the DataSource is null before setting the source to the table (since the query cell info seems to fire rather often). I have played around with the Binder/Model/Grids Begin/End Update/Init and the grid''s refresh to no avail. I am not certain how to properly use them as its difficult to understand when to use which one (I understand the Binder should only be used when changing the underlying datasource which I am not doing so I dont use that one and I know placing the refresh in the QueryCellInfo throws it into an infinite loop). If needed I can setup a DirectTrack Incident for this.

Administrator [Syncfusion]
Replied On April 8, 2005 02:11 PM UTC

You might want to report this in the grid forum so it will be seen by our grid users who might have feedback for you. What version of our libraries are you using? Generally, it is better to dynamically set dropdownlist using the CurrentCellShowingDrop event. The reason is that this event is only raised when the user clicks the cell to indcate that he want to see the dropdown. QuertCellInfo is hit constantly, and you normally want to restrict the type of code you use in that event. Here is a forum thread that has a sample showing one way to dynamically set the dropdown. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=18524

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.

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

;