This is a migrated thread and some comments may be shown as answers.

Hidden floating window persistance

1 Answer 135 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Dawid Wódkowski
Top achievements
Rank 1
Dawid Wódkowski asked on 29 Jun 2010, 09:03 AM
Hi

I've a problem with RadDock persistance
First i create form and attach raddock and RadMenu with 1 item to it

public partial class Form1 : Form 
    { 
        string file = "a.xml"
        HostWindow hw = null
 
        public Form1() 
        { 
            InitializeComponent(); 
 
            this.FormClosing += new FormClosingEventHandler(Form1_FormClosing); 
            hw = radDock1.DockControl(new TextBox(), DockPosition.Left); 
            if (System.IO.File.Exists(file)) 
                radDock1.LoadFromXml(file); 
        } 
 
        void Form1_FormClosing(object sender, FormClosingEventArgs e) 
        { 
            radDock1.SaveToXml(file); 
        } 
 
        private void radMenuItem1_Click(object sender, EventArgs e) 
        { 
            radDock1.DisplayWindow(hw); 
        } 
    }


Now I run such app and:
1. Change TextBox to floating window
2. Hide it by closing
3. Show it by radMenuItem1 click
It works as expected, but when  I:
1. Change TextBox to floating window
2. Hide it by closing
3. Restart application
4. Show control by radMenuItem1 click
Control appears as toolbox at dock container
When i closed application without hiding settings are persisted beetwen runs
How can i make it work?


1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 02 Jul 2010, 11:50 AM
Hello Dawid,

Thank you for your question.

Actually this is a not yet implemented functionality. When a floating window is hidden and then persisted, it is moved to its the ToolTabStrip that holds its Docked state. We are aware of this missing feature and we will do our best to implement it in some of our next releases.

I have logged this as a feature request in our Public Tracking System (PITS) where you can track its progress.

Your Telerik points are updated as a token of our gratitude for your feedback.

All the best,
Georgi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Dock
Asked by
Dawid Wódkowski
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or