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

Duplicate copy of dock

3 Answers 62 Views
Dock
This is a migrated thread and some comments may be shown as answers.
NIRAKAR
Top achievements
Rank 1
NIRAKAR asked on 11 May 2009, 06:17 AM
Hi,

How to create duplicate copy of dock.


Nirakar.

3 Answers, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 11 May 2009, 11:32 AM
The only one way is to create  a new RadDock on the server and apply the same properties to it as the "original" RadDock
0
NIRAKAR
Top achievements
Rank 1
answered on 12 May 2009, 06:26 AM

How to create duplicate copy of dock Dynamically

User can create duplicate dock for multiple operation.
You can check the link http://www.netvibes.com/#General

Is it possible in RadDock? If yes, Please guide how to create.
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 12 May 2009, 12:56 PM

You could apply RadDock's state to another RadDock,e.g.

protected override void OnInit(EventArgs e)  
    {  
        base.OnInit(e);  
        if (Page.IsPostBack)  
        {  
            DockState state = RadDock1.GetState();  
            state.UniqueName = "NewUniqueName";  
            RadDock dock = new RadDock();  
            dock.ApplyState(state);  
            RadDockLayout1.Controls.Add(dock);  
        }  
    } 

Tags
Dock
Asked by
NIRAKAR
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
NIRAKAR
Top achievements
Rank 1
Share this question
or