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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Floating Control don''t show up with new version

Thread ID:





41825 Mar 13,2006 01:08 PM UTC May 23,2006 01:02 PM UTC WinForms 5
Tags: Tools
Asked On March 13, 2006 01:08 PM UTC

when creating a flaoting control this control is not visable. in version the functionalty was still working as expected. the call to dockingManager.FloatControl is creating the control but the control is not visible. For an example to reproduce the bug. using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using Syncfusion.Windows.Forms.Tools; namespace FloatingControls { public class Form1 : Form { /// /// Required designer variable. /// private IContainer components = null; private DockingManager dockingManager1; private Button button1; private Button button2; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { UserControl control = new UserControl(); control.Name = "Control 1"; dockingManager1.FloatControl(control, new Rectangle(Cursor.Position, new Size(100, 100))); } private void button2_Click(object sender, EventArgs e) { UserControl control = new UserControl(); control.Name = "Control 2"; dockingManager1.DockControl(control, this, DockingStyle.Bottom, 100); } /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof (Form1)); this.dockingManager1 = new Syncfusion.Windows.Forms.Tools.DockingManager(this.components); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize) (this.dockingManager1)).BeginInit(); this.SuspendLayout(); // // dockingManager1 // this.dockingManager1.DockLayoutStream = ((System.IO.MemoryStream) (resources.GetObject("dockingManager1.DockLayoutStream"))); this.dockingManager1.ForwardMenuShortcuts = false; this.dockingManager1.HostControl = this; // // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Top; this.button1.Location = new System.Drawing.Point(0, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(292, 23); this.button1.TabIndex = 1; this.button1.Text = "Add Floating Control"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Dock = System.Windows.Forms.DockStyle.Top; this.button2.Location = new System.Drawing.Point(0, 23); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(292, 23); this.button2.TabIndex = 2; this.button2.Text = "Add Docked Control"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 273); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.IsMdiContainer = true; this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize) (this.dockingManager1)).EndInit(); this.ResumeLayout(false); } #endregion } }

Joy K George [Syncfusion]
Replied On March 13, 2006 03:02 PM UTC

Hi Erwin, Thanks for bringing this issue into our attention.I was able to reproduce the issue and have created a defect report regarding this.We will fix this issue as soon as possible.I will let you know once we fixed this issue. Here is the link to track the progress of this bug fix.Defect #1677 - FloatControl method does not working. As a workaround you could use the FloatControl method in the following way dockingManager1.LockDockPanelsUpdate(); dockingManager1.SetEnableDocking(control, true); dockingManager1.FloatControl(control, new Rectangle(Cursor.Position, new Size(100, 100))); dockingManager1.UnlockDockPanelsUpdate(); Please let me know if you need further assistance Regards, Joy

Replied On March 14, 2006 09:40 AM UTC

Thanks for the quick reply, I have uninstalled version so could you keep me informed if and when the fix is released. in an offical update? Best Regards Erwin Davidse

Joy K George [Syncfusion]
Replied On March 14, 2006 11:41 AM UTC

Hi Erwin, I will surely inform you, after we had fixed this issue.Our next patch will contain the fix because this is an Ultra-Critical issue. Have you tried the workaround? That worked perfect for me.There will be no need to change the code(workaround) even after you installed our next patch. Thanks for your patience. Regards, Joy

Joy K George [Syncfusion]
Replied On March 14, 2006 01:17 PM UTC

Hi Erwin, We have fixed the issue 1677 internally.Our next patch will contain the fix. Best Regards, Joy

Joy K George [Syncfusion]
Replied On May 23, 2006 01:02 PM UTC

Hi Erwin, Our new version is ready to download.Here is the link. http://www.syncfusion.com/Downloads/latestversion.aspx Please try this and let me know, if your issue has been resolved. Regards, Joy


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

or the page will be automatically redirected to 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