Duplicate copy of dock

4 posts, 0 answers
  1. NIRAKAR
    NIRAKAR avatar
    15 posts
    Member since:
    Dec 2008

    Posted 11 May 2009 Link to this post

    Hi,

    How to create duplicate copy of dock.


    Nirakar.
  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 11 May 2009 Link to this post

    The only one way is to create  a new RadDock on the server and apply the same properties to it as the "original" RadDock
  3. NIRAKAR
    NIRAKAR avatar
    15 posts
    Member since:
    Dec 2008

    Posted 12 May 2009 Link to this post


    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.
  4. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 12 May 2009 Link to this post

    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);  
            }  
        } 

Back to Top