We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

filterbar removed after slide in (dockingmanager).

Thread ID:





8214 Oct 28,2003 09:09 AM UTC Oct 28,2003 10:37 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 28, 2003 09:09 AM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon