Where is DockContextMenu on UserDockControl?

7 posts, 0 answers
  1. Adam
    Adam avatar
    89 posts
    Member since:
    Mar 2008

    Posted 26 Jan 2009 Link to this post

    I'm trying to disable the context menu on my own inherited UserDockControl.  To do this for a DocumentPane or a DockPanel, I know I would subscribe to (and cancel) the DropDownOpening event on the DockContextMenu.  I can't seem to find this on the UserDockControl.

    Any suggestions to disable or ideally hide the right-click context menu on a UserDockControl?

    Thanks!
  2. Adam
    Adam avatar
    89 posts
    Member since:
    Mar 2008

    Posted 26 Jan 2009 Link to this post

    [Edit] I am using Version 2008.31204
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 28 Jan 2009 Link to this post

    Hello Adam,

    Sorry for the introduced inconvenience.

    The UserDockControl and UserDockForm do not support this features. We are currently working on a major update of our RadDock component, and the new edition will come with new API for adding and managing UserControls and Forms. This improvement will be introduced in our Q1 2009 release.
     

    Kind regards,
    Julian Benkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Savan
    Savan avatar
    6 posts
    Member since:
    Apr 2009

    Posted 13 May 2009 Link to this post

    Hi have got Q1 2009 version, would like to know how to load forms & controls in Dockpanels.

    Currently I have one main form, have a docking manager inside it with two DockPanels.

    Left side I have my OutlookNavPanelBar as my NavigationMenu and right side is my viewpanel.

    There are several contentpanels which I am making visible and invisible as per the menu button clicked.....

    My Design has become cumbersome by adding so many content panels.....

    Is their something like MDI like traditional windows wherein I can replace my contentpanels with Forms....

    My clients requirement is to keep the menu style as OutlookNavPanelBar...

    Many thanks in advance...
    savan
  6. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 16 May 2009 Link to this post

    Hi Savan,

    Please set AutoDetectMdiChildForms of DockingManager to true. This will create a new document pane for each new MDI child form.

    If you have additional questions, feel free to contact me.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Savan
    Savan avatar
    6 posts
    Member since:
    Apr 2009

    Posted 24 May 2009 Link to this post

    Thanks for the response and Sorry for late reply...

    My Concern is I don't want separate window panes to be opened in my application I want MS-Outlook like behaviour, wherein only one window is opened and active.

    For e.g. in MS-Outlook when you move from Contacts --> Mail we have only "Mail" stuff for operating and Vice-Versa 
    Mail --> Contacts  we have only "Contacts" stuff to operate.

    Many thanks in advance....
    Savan

  8. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 27 May 2009 Link to this post

    Hi Savan,

    If you want to have the Outlook functionality and use RadDock, you do not need MDI to cover your scenario. You can simply create UserControls inheriting from UserDockControls and set them as documents in the DockingManager. I am attaching a sample project which demonstrates this approach.

    I hope this helps. If you have additional questions, feel free to contact me.

    Sincerely yours,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for WinForms is Visual Studio 2017 Ready