Bug Report B138420
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

ComboBox - Implement lookup feature with data binding

LookupEdit not firing current changed on windows binding source

created 16 years ago

I have a LookUpEdit control that has its datasource set to a windows binding source. When the selected item in the look up edit changes the current changed event does not fire on the binding source. When I replace the LookUpEdit with a combo box it works correctly. I can get around this by handling the EditValueChanged of the look up edit; but I would expect any windows forms control to work with a binding source or it is a bug. If this is a known issue has it be corrected in 9.x I have not
Steps to Reproduce:
Create a list of items; create a windows binding source; set the list of items to to datasource of the bindingsource;create an event handler for the list currentchanged event; create a lookupedit control; set the datasource of the lookupedit to the binding source. at run time change the selected an item in the lookupedit control.
Actual Results:
current changed event of the binding source never fires when the selected item in the lookupedit changes
Expected Results:
current changed event of the binding source should fire when the selected item in the lookupedit changes

Comments (1)
DevExpress Support Team 16 years ago

    Hello,
    The LookUpEdit control doesn't update its binding context when the selected item is changed. This is known behavior for the LookUpEdit. I suggest that you track the following suggestion: ComboBox - implement lookup feature with data binding
    You'll find the workaround in that thread.
    Thank you, Marina

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.