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

Text doesn''t get saved into CellValue

Thread ID:





78907 Jan 9,2009 03:49 PM UTC Jan 10,2009 06:33 AM UTC WinForms 1
Tags: GridControl
d p
Asked On January 9, 2009 03:49 PM UTC

I have a grid with dropdown for each cell.
My problem is, when I select the value from the Dropdown and than try to read the CellValue programatically, it still shows me the CellValue = "".
But if I move off of the cell to another cell, and than read the CellValue from previous cell, it works fine.
Could you please let me know how to work this around?
(it's urgent)

Rajadurai C [Syncfusion]
Replied On January 10, 2009 06:33 AM UTC

Hi Deepak,

Thanks for your interest in Syncfusion products.

You can retrieve the selected item in combobox by handling CurrentCellCloseDropDown event with the following code:

If it is GridControl,

this.gridControl1.CurrentCellCloseDropDown += new Syncfusion.Windows.Forms.PopupClosedEventHandler(gridControl1_CurrentCellCloseDropDown);
void gridControl1_CurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.PopupClosedEventArgs e)
GridCurrentCell cc = this.gridControl1.CurrentCell;

If it is GridGroupingControl,

this.gridGroupingControl1.TableControlCurrentCellCloseDropDown += new GridTableControlPopupClosedEventHandler(gridGroupingControl1_TableControlCurrentCellCloseDropDown);
void gridGroupingControl1_TableControlCurrentCellCloseDropDown(object sender, GridTableControlPopupClosedEventArgs e)
GridCurrentCell cc = this.gridGroupingControl1.TableControl.CurrentCell;



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