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.

Invalid Range exception in MultiColumnComboBox

Thread ID:

Created:

Updated:

Platform:

Replies:

37306 Nov 18,2005 02:20 PM Nov 20,2005 03:38 PM Windows Forms 3
loading
Tags: Tools
Administrator [Syncfusion]
Asked On November 18, 2005 02:20 PM

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

Anupama Roy [Syncfusion]
Replied On November 19, 2005 04:52 AM

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

Administrator [Syncfusion]
Replied On November 20, 2005 11:36 AM

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

Administrator [Syncfusion]
Replied On November 20, 2005 03:38 PM

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

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.

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.

;