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.
Syncfusion Feedback

Non Editable Combo Box

Thread ID:

Created:

Updated:

Platform:

Replies:

75227 Jul 16,2008 06:59 PM UTC Jul 21,2008 12:58 PM UTC Windows Forms 1
loading
Tags: GridControl
Patrick Brunet
Asked On July 16, 2008 06:59 PM UTC

Hi,

I'm setting the cell type of one of my column as "ComboBox" and binding it with values from the database. The problem is the combo box created by Syncfusion is a combo box where users can enter text. How can I set the grid so it generates a combox box where users cannot enter text in it and just select an item from it.

Thanks,

Pat


SubhaSheela R [Syncfusion]
Replied On July 21, 2008 12:58 PM UTC

Hi Pat,

Thanks for your interest in Syncufsion products.

You can set ExclusiveChoiceList property to achieve your desired behavior. Here is the code snippet:


this.gridControl1[5, 2].ExclusiveChoiceList = true;


Here is the sample:

GCComboReadOnly.zip

Please let me know if it helps.

Regards,
Subhasheela R




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.

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

;