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.


Thread ID:





69293 Oct 23,2007 03:16 AM Oct 24,2007 11:27 PM Windows Forms 1
Tags: Tools
Asked On October 23, 2007 03:16 AM

Hi, all
I have a problem but I can't resolve. Please help me.
I have a gridcontrol with a cell is CellType="GridListControl" that it list products. I want to when i click the item on the dropdowlist, the unit price of this product is display on the other cell.Thanks for yours answer

Administrator [Syncfusion]
Replied On October 24, 2007 11:27 PM

Hi Baotq,

Thank you for your interest in Syncfusion products.

You can display the selected value of dropdown GridListControl in another cell of GridControl by accessing GridDropDownGridListControlCellRenderer class.

The following code snippet illustrates this.


private void gridControl1_CurrentCellShowingDropDown(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellShowingDropDownEventArgs e)
GridDropDownGridListControlCellRenderer listRenderer = (GridDropDownGridListControlCellRenderer)this.gridControl1.GetCellRenderer(3, 3);
this.gridControl1[1, 1].CellValue = listRenderer.ListControlPart.SelectedValue;

Here is a sample for your reference.


Please let me know if you have any other queries.



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.