StrataFrame Forum

binding navigator

http://forum.strataframe.net/Topic2347.aspx

By Daniel Essin - 8/21/2006

How do I use a bindingNavigator with a BusinessBindingSource?



Thanks
By StrataFrame Team - 8/22/2006

You have to use a standard BindingSource in between the BusinessBindingSource and the BindingNavigator like this:

The businessBindngSource.BusinessObject property is set to businessObject1. 

The bindingSource1.DataSource property is set to businessBindingSource1.

The bindingNavigator1.BindingSource property is set to bindingSource1.

You then set the bindingSource1 as the DataSource of whatever control/grid you're using.

By Daniel Essin - 8/22/2006

Oh. Thanks.
By StrataFrame Team - 8/23/2006

No problem.  The BindingNavigator is designed to only work with a System.Windows.Forms.BindingSource, not an IBindingListView, which is what our BusinessBindingSource uses.  You have to add the extra layer in there to get it to work.