Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
675
Get selected value of dropdownlist in ultragrid
posted

My ultra grid contains a couple of dropdownlists with text and value fields.

            ultraGrid1.DisplayLayout.Bands[0].Columns["Column"].EditorComponent = cbColumns;
            ultraGrid1.DisplayLayout.Bands[0].Columns["Column"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate;

When I get the value of the cell, it returns the selected text.

           columnname = row.Cells["COLUMN"].Value.ToString();

How can I get the selected value instead of text?

Thank you.