The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
i have here a curious behaver.
when i pin and unpin a panel with integrated databoundgrid, the filterbar will be removed.
there are no style operations, no initialize routines in the grid while slide in and out.
all other layoutsettings (colheader,colsize, backcolor and so on) and databoundsettings, after slide-in are absolutely correct.
the incorrect behaver comes also when i redock with the dockingmanager, after docking-operation the filterbar is removed.
i hope you understand my description.
greeting markus
ADAdministrator Syncfusion Team October 28, 2003 10:37 AM UTC
The problem is the form is recreated and the binding context changes. But you can manually assign the binding context from the docking HostControl.
That should solve the problem. Here is an example ctor:
public Form1()
{
InitializeComponent();
this.BindingContext = this.dockingManager1.HostControl.BindingContext;
this.gridDataBoundGrid1.BindingContext = this.dockingManager1.HostControl.BindingContext;
DataSet ds = new DataSet();
ds.ReadXml("Orders.xml");
this.gridDataBoundGrid1.DataSource = ds.Tables["Orders"];
}
Stefan