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

Cell not showing selected value from Dropdown

Thread ID:





53015 Dec 7,2006 06:37 AM UTC Dec 7,2006 09:06 AM UTC WinForms 1
Tags: Grouping
Pawan Adur
Asked On December 7, 2006 06:37 AM UTC

Hi haneef ,
i am dynamically setting DataSOurce in a GridCOntrolList cell as

GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer;

cr.ListControlPart.DataSource =dt;


but instead of showing selected value its showing me System.Data.DataRowView..

Administrator [Syncfusion]
Replied On December 7, 2006 09:06 AM UTC

Hi Pawan,

You need to set the DisplayMember and ValueMember property of the cell using QueryCellStyleInfo event. Here is a code snippet.

if( e.TableCellIdentity.ColIndex == 6)
e.Style.DisplayMember = "YourDisplayMemberName";
e.Style.ValueMember = "YourValueMemberName";

Best Regards,


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

This page will automatically be redirected to the 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