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

Binding to Interfaces fails

Thread ID:





61687 May 30,2007 09:20 PM UTC May 30,2007 11:17 PM UTC WinForms 1
Tags: GridControl
Tod Golding
Asked On May 30, 2007 09:20 PM UTC

I cannot appear to bind columns to custom data objects without requiring those objects to implement IConvertible. I'd been trying this with my own custom cell type and assumed it was just something I was doing wrong. Now I'm just trying to use a vanilla autocomplete combobox cell and I'm running into the same problem. My combo is populated with objects of "MyCustomType" and the column is bound to a columns with type of "MyCustomType" and I'm getting the "must implement IConvertible" error.

As best I can tell, I think this is related to the fact that the data types of the columns I'm trying to bind to are *interfaces* and not objects. Is the grid somehow counting on each cell being bound to an object (and perhaps it needs access to ToString())? Just a guess, but it seems like my use of interfaces may be influencing the outcome.

Either way, can someone please clarify what *is* and *is not* required when binding columns to custom data objects?

haneefm [Syncfusion]
Replied On May 30, 2007 11:17 PM UTC

Hi Tod,

You can refer these and let me know if this helps.
CustomBindObject Documentation

Best regards,


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

This page will automatically be redirected to the 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