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

custom control doesn''t fire SaveCellInfo Event

Thread ID:

Created:

Updated:

Platform:

Replies:

39717 Jan 17,2006 09:14 AM UTC Jan 18,2006 03:11 PM UTC Windows Forms 5
loading
Tags: GridControl
Rohan
Asked On January 17, 2006 09:14 AM UTC

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 11:04 AM UTC

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

Rohan
Replied On January 18, 2006 06:05 AM UTC

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 07:21 AM UTC

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 07:38 AM UTC

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 03:11 PM UTC

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.

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

;