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

Feature request

3 Answers 111 Views
Toolstrip (obsolete as of Q3 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeff Wyrick
Top achievements
Rank 1
Jeff Wyrick asked on 16 Oct 2006, 07:51 AM
Hello,

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

Sort by
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 hope this information helps.

Regards,
Chris
the telerik team
0
Jeff Wyrick
Top achievements
Rank 1
answered on 16 Oct 2006, 07:16 PM
Thanks Chris for your reply.

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.


Best wishes,

Chris
the telerik team
Tags
Toolstrip (obsolete as of Q3 2010)
Asked by
Jeff Wyrick
Top achievements
Rank 1
Answers by
Chris
Telerik team
Jeff Wyrick
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or