Srihari
Srihari

Reputation: 2429

How to clear data from lookupedit ? Winform Devexpress

In my form I have 3 buttons and 1 lookupedit. Lookupedit is disabled initially If i click on button1 it enables and then I select 3rd item(Computer) from lookupedit it displays and i select button2 now lookupedit is disabled. If again i click button1 then that time previously selected 3rd Item(Computer) is display again. How to clear that before selecting ?

Thanks in Advance, Sri

Upvotes: 0

Views: 3242

Answers (1)

Uranus
Uranus

Reputation: 1690

All that you need to clear the selected value in the LookUpEdit editor is to set the EditValue property to null. This is valid for any DevExpress editor, because all of them has a common structure

Upvotes: 2

Related Questions