QUESTION about win form document manager

2 posts, 0 answers
  1. 涵策
    涵策 avatar
    1 posts
    Member since:
    Aug 2017

    Posted 24 Oct 2017 Link to this post

    As picture one I attached below, when i click "add a document" in the first picture, it goes to the second picture (by adding a new tab)

    I want to ask if is possible for me to go straight to the third picture or the fourth picture.  

    If it is possible I wonder how I can edit the codes, to make it possible. 

     

     

     

  2. Hristo
    Admin
    Hristo avatar
    1519 posts

    Posted 24 Oct 2017 Link to this post

    Hi 涵策,

    Thank you for writing.

    You can use the RadDock.DockWindow method and set the DockPosition parameter according to your scenario: 
    private void radButton1_Click(object sender, EventArgs e)
    {
        DocumentWindow dw = new DocumentWindow();
        this.radDock1.DockWindow(dw, DockPosition.Right);
    }

    Please also check the following documentation article demonstrating how windows can be created at run-time: https://docs.telerik.com/devtools/winforms/dock/object-model/creating-toolwindow-and-documentwindow-at-runtime.

    I hope this helps. Should you have further questions please do not hesitate to write back

    Regards,
    Hristo
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top