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

Invalid Range exception in MultiColumnComboBox

Thread ID:





37306 Nov 18,2005 07:20 PM UTC Nov 20,2005 08:38 PM UTC WinForms 3
Tags: Tools
Administrator [Syncfusion]
Asked On November 18, 2005 07:20 PM UTC

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 Is there a fix or work-around for this? --Van Baker

Anupama Roy [Syncfusion]
Replied On 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.


Administrator [Syncfusion]
Replied On 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

Administrator [Syncfusion]
Replied On 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


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