I get the above error when trying to export my grid to excel.
Here is the code.
GroupingGridExcelConverterControl converter = new GroupingGridExcelConverterControl();
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = "Files(*.xls)|*.xls";
saveFileDialog.DefaultExt = ".xls";
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
converter.ExportStyle = false;
converter.GroupingGridToExcel(this,
saveFileDialog.FileName, Syncfusion.GridExcelConverter.ConverterOptions.Visible);
}
However when this code runs error happens
Cannot bind to the new display member. Parameter name: newDisplayMember
I use comboboxes in my application. Here is the sample code
comboBoxLists.DisplayMember = "Name";
comboBoxLists.ValueMember = "Name";
That is I assign both display and value to the same property. Could that be why I am getting this error?