Search code examples
c#winformsdevexpressxtragridrepositorylookupedit

DevExpress RepositoryItemLookUpEdit


I am binding the Grid with a business object which contains a field Country (which is another business object containing ID and Name). I want to display the country name set to the "Country" in the business object for each row. However if the user wishes to change the country then I want to show the user a drop down list with all the countries available.

I'm stuck with getting the SlectedValue from the repositoryItemLookUpEdit and setting the Selected value


Solution

  • I Solved this using a ComboBox instead of a LookupEdit and it worked without problem.