I have a background worker that checks for updates. If there is updates I want to be able to dynamically load the name of the updates under a popup menu tool item within the toolbar. These items will be just labels.
How would I go about doing the adding of the new items to the popup menu tool
Hello,
You can either create a PopupMenuTool and add it to a particular Toolbar or use an existing PopupMenuTool and create label tools with these update captions and add it to the PopupMenuTool. Take a look at the following code:PopupMenuTool pt1 = (PopupMenuTool) this.ultraToolbarsManager1.Tools["PopupMenuTool1"];//Create a LabelTool with appropriate captionLabelTool l1 = new LabelTool("LabelToolKey1");l1.SharedProps.Caption = "Update1";//Add this labeltool to the UltraToolbarsManager's Tools collectionthis.ultraToolbarsManager1.Tools.Add(l1);//Add this tool to the ToolsCollection of the corresponding PopupMenuToolpt1.Tools.AddTool("LabelToolKey1");
Please let me know if this helps.ThanksPurnima