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.

Determining if a ComboBox is a CheckedListBox or not

Thread ID:

Created:

Updated:

Platform:

Replies:

31361 Jul 6,2005 06:02 AM Jul 6,2005 06:23 AM Windows Forms 2
loading
Tags: GridControl
Thabo
Asked On July 6, 2005 06:02 AM

Hi, My GGC Grid also has a column that contains a normal combobox and another column that contains a CheckedListBox that allows checking and unchecking of items. I know that if i want to check whether a current cell in a column is a combobox, i check if the cellType = "ComboBox". However, is it possible to check if a dropdown is a normal combobox or a CheckedListBox. Regards David

Thabo
Replied On July 6, 2005 06:10 AM

>Hi, > >My GGC Grid also has a column that contains a normal combobox and another column that contains a CheckedListBox that allows checking and unchecking of items. > >I know that if i want to check whether a current cell in a column is a combobox, i check if the cellType = "ComboBox". However, is it possible to check if a dropdown is a normal combobox or a CheckedListBox. All of the above is done in a TableControlCurrentCellDeleting event of the GGC. >Regards >David

Administrator [Syncfusion]
Replied On July 6, 2005 06:23 AM

You can try checking the typeof(e.TableControl.CurrentCell.Renderer). This should be different for teh two cell types you mentioned.

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.

;