Posted 16 years ago
by Aliaksei

Hi,
I try to use propertygrid with combobox and I have some problem.
I can't find any examples of combo editor usage.
I have entity Employee which have property EmployeeTypeId. I would like to use combobox editor which filled by EmployeeType entities (EmployeeTypeId, EmployeeTypeDescription, ...). Selected in combobox employee type must be saved in EmployeeTypeId property of Employee entity. But I can't find how I can set SelectedValuePath/DisplayMemberPath for combo editor. How I can solve this problem?
Thank you.
I try to use propertygrid with combobox and I have some problem.
I can't find any examples of combo editor usage.
I have entity Employee which have property EmployeeTypeId. I would like to use combobox editor which filled by EmployeeType entities (EmployeeTypeId, EmployeeTypeDescription, ...). Selected in combobox employee type must be saved in EmployeeTypeId property of Employee entity. But I can't find how I can set SelectedValuePath/DisplayMemberPath for combo editor. How I can solve this problem?
Thank you.