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

GDBG combobox

Thread ID:





40622 Feb 8,2006 01:11 PM UTC Feb 10,2006 01:46 PM UTC WinForms 3
Tags: GridControl
Horea Soanca
Asked On February 8, 2006 01:11 PM UTC

I have a combobox hosted in a cell. I also have a contextmenu. How do i make the combobox not to open on right click ?

Administrator [Syncfusion]
Replied On February 9, 2006 06:22 AM UTC

Hi Horea, By default the ComboBox in a grid cell wont open on a right click. I have attached a sample. Are you trying something else? Regards, Calvin.


Horea Soanca
Replied On February 10, 2006 12:28 PM UTC

I initialize the combobox in the following way: grid.Binder.InternalColumns[gf.DBName].StyleInfo.CellType = "ComboBox"; grid.Binder.InternalColumns[gf.DBName].HeaderText = headerText; grid.Binder.InternalColumns[gf.DBName].StyleInfo.DataSource = FillCollection(Global.EntityTypes.Technology); grid.Binder.InternalColumns[gf.DBName].StyleInfo.DropDownStyle = GridDropDownStyle.Exclusive;

Administrator [Syncfusion]
Replied On February 10, 2006 01:46 PM UTC

Hi Horea, It is due to the DropDownStyle property of the grid being set to ''Exclusive''. You can work around this problem by handling the CurrentCellShowingDropDown and CellClick events. See the modified sample for more details. 40622.zip Best Regards, Leo.


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

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