﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » BusinessObject.Navigate doesn't change the selected value of a bound Devxpress LookUpEdit control</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 15 Sep 2026 01:22:31 GMT</lastBuildDate><ttl>20</ttl><item><title>BusinessObject.Navigate doesn't change the selected value of a bound Devxpress LookUpEdit control</title><link>http://forum.strataframe.net/FindPost12973.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;I have a LookUpEdit control and an XtraGrid on the same win form and they are both bound to the same BusinessBindingSource. When I use BusinessBindingSource.BusinessObject.Navigate to an absolute index position, I see the Grid focusing correctly on the row at the specified position, but the display text of the LookUpEdit doesn't change to point to the value I navigated to.&lt;/P&gt;&lt;P&gt;Is this normal? The call is like this (bs is the BusinessBindingSource and foo is true):&lt;/P&gt;&lt;P&gt;bool foo = bs.BusinessObject.Navigate(BusinessNavigationDirection.Absolute, bs.BusinessObject.CurrentRowIndex);&lt;/P&gt;&lt;P&gt;I am using DevXpress version 6.3&lt;/P&gt;&lt;P&gt;Thanks in advance.</description><pubDate>Tue, 11 Dec 2007 09:39:37 GMT</pubDate><dc:creator>George Nentidis</dc:creator></item><item><title>RE: BusinessObject.Navigate doesn't change the selected value of a bound Devxpress LookUpEdit control</title><link>http://forum.strataframe.net/FindPost12981.aspx</link><description>I would have to look at your code to see what is going on.&amp;nbsp; I do know that when we created the wrapper for DevExpress that their combo behaved differently than many of the other native controls and in fact did not have a standard data source like a .NET combo.&amp;nbsp; This required that we add this functionality in the wrapper.&amp;nbsp; Since you are using the standard .NET data-binding through the BBS, if their control is not reflecting the change then it would be one of two things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You have some logic within the control that is preventing it from reflecting the navigated record.&lt;/LI&gt;&lt;LI&gt;The LookupEdit control is not respecting the navigation and updating of the BBS.&amp;nbsp; You may look at the data-bindings and ensure that the control updates itself on the PropertyChanged event rather than the Validated.&amp;nbsp; This is done for you automatically through the wrapper by default.&amp;nbsp; But when you bind natively you have to set this yourself.&amp;nbsp; To get to this, go to the Data Bindings-&amp;gt;Advanced.&amp;nbsp; Select the property to which you are binding and change it to OnPropertyChanged.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/82cea7e3-4b15-41eb-b215-f214.png"&gt;</description><pubDate>Tue, 11 Dec 2007 09:39:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BusinessObject.Navigate doesn't change the selected value of a bound Devxpress LookUpEdit control</title><link>http://forum.strataframe.net/FindPost12979.aspx</link><description>I checked it and now I have 3 bound controls on my form, a TextEdit, a LookUpEdit and an XtraGrid. They are all bound to the same BusinessBindingSource and the TextEdit and Grid work correctly! When I change the source position in either of them (either by hand or by code), the other also changes immediately to reflect the new position in the datasource.&lt;/P&gt;&lt;P&gt;Only the LookUpEdit remains unchanged, until I set its value either programmatically or by hand. Also if&amp;nbsp;I change the&amp;nbsp;value of the LookUpEdit, the rest of the controls don't bother to update, as if the Lookup&amp;nbsp;is not bound.&lt;/P&gt;&lt;P&gt;I guess then this is a DevXpress issue...</description><pubDate>Tue, 11 Dec 2007 09:27:58 GMT</pubDate><dc:creator>George Nentidis</dc:creator></item><item><title>RE: BusinessObject.Navigate doesn't change the selected value of a bound Devxpress LookUpEdit control</title><link>http://forum.strataframe.net/FindPost12974.aspx</link><description>If the LookupEdit control is bound and the value of the bounds control changes, the control should update its binding and be reflected in what is visible.&amp;nbsp; I know that this will work in the Infragistics controls and the DevExpress should not be any different in that respect.&amp;nbsp; If you bind the same field to a DevExpress textbox, does its value update?</description><pubDate>Tue, 11 Dec 2007 08:43:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>