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. Image for the cookie policy date
close icon

Invalid Range exception in MultiColumnComboBox

In a multicolumn combo box control, I hide certain columns, for example: this.MultiColumnComboBox1.ListBox.Grid.HideCols["FirstName"] = true; This works fine with Visual Studio 2003, but in Visual Studio 2005, I get an "Invalid Range" exception when the above line of code executes. I am using Essential Studio version 3.3.0.11. Is there a fix or work-around for this? --Van Baker

3 Replies

AR Anupama Roy Syncfusion Team November 19, 2005 09:52 AM UTC

Hi Van, I am afraid,I am not able to reproduce the above mentioned problem.I checked this with VS 2005 RTM.Could you please let me know whether you are able to reproduce the problem with the below attached sample. Thanks for your continued interest in Syncfusion products. Regards, Anu.

multicolumcombobox.zip


AD Administrator Syncfusion Team November 20, 2005 04:36 PM UTC

Anu, I did discover that in my original code, I was inadvertently setting the DisplayMember and ValueMember _before_ setting the Datasource. I changed the order so that the DataSource is set first, and this fixed the problem! I don''t know why it works okay in VS 2003, though. I do have another question about MultiColumnComboBox and VS 2005: In the VS 2005 Designer, I am unable to re-size the control. Is there any work-around for this, and will it be fixed for version 3.3? Thank-you. Van Baker


AD Administrator Syncfusion Team November 20, 2005 08:38 PM UTC

>>another question about MultiColumnComboBox... I''m sorry, I mis-posted the last question. This is actually an issue with GridGroupingControl-- not the MultiColumnComboBox. I''ll post it in the Grids forum. Thanks for the help, Van Baker

Loader.
Live Chat Icon For mobile
Up arrow icon