If you are using data binding with your controls that are part of the dockable bars that can be placed in floating mode you might need to update the BindingContext on the floating bar’s form so functionality that relies on updating the common BindingContext like for example DataGridView sorting propagated through multiple grids, can work as expected.

To do that you need to handle DotNetBarManager.BarUndock event and have following code there:


private void dotNetBarManager1_BarUndock(object sender, EventArgs e)
    Bar bar = sender as Bar;
    if (bar != null)
        Form f = bar.FindForm();
        if (f != this)
            f.BindingContext = this.BindingContext;

Related posts:

  1. How to Make DotNetBar for WinForms Floating Docking Windows Translucent
  2. How to to change top-most behavior of floating bars
  3. Data-binding on popup and DataSource
  4. How to create Dockable Windows
  5. How to access dockable bar AutoHidePanel