Hello All,
I am currently doing a winform project. In that, I am using DevExpress SearchLookUpEdit control to display values.
I can able to fill values from database into this control and able to insert the value member(editvalue) from the control.
But there is an issue while I fetching value based upon the Id. Means when trying to edit the value.
When I click on gridview row, those values need to load into the SearchLookUpEdit. This functionality is not working for me.
I am using multiple SearchLookUpEdit controls in my forms. Here is the code.
srchlkpSite.Properties.ValueMember = "ID";
srchlkpSite.Properties.DisplayMember = "Name";
srchlkpSite.EditValue = dr["ID"].ToString();
srchlkpBuliding.Properties.ValueMember = "BID";
srchlkpBuliding.Properties.DisplayMember = "Building";
srchlkpBuliding.EditValue = dr["ID"].ToString();