I Have very little programming knowledge. This program worked well before I got a newer version of Telerik. Now it is having trouble converting RadDropDownMenus to RadContextMenus.
mnContext = new RadDropDownMenu();
mnItem = new RadMenuItem("&Add Stats" );
mnItem.Tag = lnkToTeam;
mnItem.Name = "AddBattingStats";
mnContext.Click += new EventHandler(tvTeam_ContextMenu_PitchPlanRootClicked);
planGroupNode.ContextMenu = mnContext;
planGroupNode.Tag = null;
planGroupNode.Name = "PitchPlanHeader";
planGroupNode.ToolTipText = "Right-click to add or delete Pitch Plans";
1 Answer, 1 is accepted
answered on 13 Nov 2013, 04:13 PM
Thank you for contacting us.
You can use the DropDown property of RadContextMenu to set its DropDown. For example you will need to set your ContextMenu property as follows:
planGroupNode.ContextMenu.DropDown = mnContext;
If you still experience difficulties, please provide me with more detailed information about your case and from what version you upgraded.
I hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>