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

RadDropDownMenu in Toolbox

3 Answers 162 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Software
Top achievements
Rank 1
Software asked on 01 Aug 2008, 03:29 PM
The docs imply that to add a RadDropDownMenu to a form you should select it from the Toolbox, but there is no RadDropDownMenu on the toolbox.

Am I missing somethins?

3 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 04 Aug 2008, 08:16 AM
Hi Eric,

Thank you for writing.
It seems that there are still some parts of the documentation that are not updated to reflect the changes in menus in the Q2 2008 release. This will soon be corrected.

The RadDropDownMenu component has been replaced by RadContextMenu in the VS Toolbox.
Here is an extract from the Q2 2008 release notes:

  • New easy to use RadContextMenu component, which replaces the RadDropDownMenu in the VS toolbox. Offers advanced design-time support.

  • For more information you can take a look at the release notes page.

    Greetings,
    Jordan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
    0
    Stargazer
    Top achievements
    Rank 2
    answered on 13 Nov 2008, 06:48 PM
    I'm also having the same problem. Well, not quite de same, but related.

    The RadDropDownMenu has been replaced for RadContextMenu which is better and all. Great! ;)

    The docs state that to set a ContextMenu in design (or in the code) to a RadTreeView one has to add a RadContextMenu to the form, and then assign that RadContextMenu to the RadTreeViews's RadContextMenu property.

    The problem is that property accepts an object of the RadDropDownMenu type. Maybe a bug here ? Or am I missing something?

    Thanks!
    0
    Nikolay
    Telerik team
    answered on 18 Nov 2008, 02:06 PM
    Hi Stargazer,

    You are correct. RadTreeView still accepts an object of type RadDropDownMenu for its RadContextMenu property. Therefore, please use the DropDown property of the RadContextMenu instance:
    this.radTreeView1.RadContextMenu = this.radContextMenu1.DropDown; 

    RadTreeView.RadContextMenu property will accept an object of type RadContextMenu in one of our next versions.

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

    Sincerely yours,
    Nikolay
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
    Tags
    Treeview
    Asked by
    Software
    Top achievements
    Rank 1
    Answers by
    Jordan
    Telerik team
    Stargazer
    Top achievements
    Rank 2
    Nikolay
    Telerik team
    Share this question
    or