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.

custom control doesn''t fire SaveCellInfo Event

Thread ID:

Created:

Updated:

Platform:

Replies:

39717 Jan 17,2006 04:14 AM Jan 18,2006 10:11 AM Windows Forms 5
loading
Tags: GridControl
Rohan
Asked On January 17, 2006 04:14 AM

Hi All, For a particular cell i have assigned CellType="Control" and .Control=customControl but this control doesn''t fire savecellInfo event. Can anyone explain me why does it behave like this?

stanleyj [Syncfusion]
Replied On January 17, 2006 06:04 AM

Hi Rohan, Your DT incident 23201 is updated. Regards, Stanley

Rohan
Replied On January 18, 2006 01:05 AM

Hi Stanley, Thank you for your valuable response. Now I am able to display a custom control(which is a comboBox) and its firing SaveCellInfo and etc. But now the problem is how do I populate my custom comboBox? I have used following code:- private GridQueryCellInfo() { e.Style.CellType = "MyComboBox"; //e.Style.ChoiceList = itmes; } My question is where and how to populate my custom Combo? Waiting for your reply. >Hi Rohan, > >Your DT incident 23201 is updated. > >Regards, >Stanley

stanleyj [Syncfusion]
Replied On January 18, 2006 02:21 AM

Hi Rohan, The style properties that are set, has to be shared with your custom ComboBox, please refer Essential Suite\Windows\Grid.Windows\Src\Base\DropDown\GridComboBoxCellModel.cs, the FillWithChoices function. Let me know if you need more information. Regards, Stanley

Rohan
Replied On January 18, 2006 02:38 AM

Stanley, I do not have this code so i am not able to see the specified function. After some R&D I have found following things - e.style.CellValue = items (whose datatype is string[]) using this I can populate my comboBox. But onSaveChanges() style.CellValue = MyComboBox.Text ; which doesn''t assign a text to the Cell. And it takes more time to load values (If I use e.Style.Cellvalue = itmes in QueryCellInfo) >Hi Rohan, > >The style properties that are set, has to be shared with your custom ComboBox, please refer Essential Suite\Windows\Grid.Windows\Src\Base\DropDown\GridComboBoxCellModel.cs, the FillWithChoices function. > >Let me know if you need more information. > >Regards, >Stanley

stanleyj [Syncfusion]
Replied On January 18, 2006 10:11 AM

Hi Rohan, I have updated your incident. Regards, Stanley

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.

;