I am not sure what plan is for feature request but I am requesting that for the toolstrip dropdown menu that it would allow you to host other UI controls like a checkbox control or any other Windows Forms control.
3 Answers, 1 is accepted
0
Chris
Telerik team
answered on 16 Oct 2006, 02:03 PM
Hello Jeff, First, thank you for evaluating r.a.d.controls for WinForms and I would like to say that your feedback is of great importance to us. When saying "the toolstrip dropdown menu" do you mean the ToolStrip OverFlow Button (the button appearing at the rightmost which dropdowns a list of checkboxes which hide/show the ToolStrip elements) or do you mean a DropDownButton which is inserted in the ToolStrip. In case you have in mind a DropDownButton inserted in a given ToolStripElement you can insert custom items/elements/controls in its dropdown using several approaches. If you would like to insert a checkbox item for example in the DropDownButton Items collection you can use the following code: RadMenuContentItem contentItem = new RadMenuContentItem(); RadCheckBoxElement checkBox = new RadCheckBoxElement(); contentItem.ContentElement = checkBox; myDropDownButton.Items.Add(contentItem);
You can insert a DataGridView control for example in the DropDownButton Items using a RadHostItem: RadMenuContentItem contentItem = new RadMenuContentItem(); DataGridView gridView = new DataGridView(); RadHostItem hostItem = new RadHostItem(gridView);
contentItem.ContentElement = hostItem ;
myDropDownButton.Items.Add(contentItem);
I am coming from Infragistics WinForm suite and I figured that a good idea to have is a visual way to assign controls to a Controlhost type in a dropdown menu. I've only come across very minor bugs but so far I am extremely impressed once again by Telerik.
0
Vassil Petev
Telerik team
answered on 17 Oct 2006, 08:24 AM
You are welcome, Jeff, I am glad to hear that you like the feature set of our new suite. Please, feel free to share any problems you find - we would like to address all issues for the official release. Your feedback will be greatly appreciated.