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

RadToolStripItem feature request

7 Answers 149 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.
Todd Gill
Top achievements
Rank 1
Todd Gill asked on 12 Feb 2007, 05:51 PM
The dropdown caret that lets the user select what buttons are visible, is there a way to disable this or make it only available when all the items do not fit on the toolStripItem.

7 Answers, 1 is accepted

Sort by
0
Vassil Petev
Telerik team
answered on 14 Feb 2007, 02:49 PM
Hi Todd,

Currently we do not support that feature, but I have logged it in for implementation for one of the next releases.

For now, you can disable or hide the overflow button only. Simply use the following code:

radToolStripItem.OverflowManager.DropDownButton.Visibility = ElementVisibility.Hidden;  


If you would like to disable the overflow button you can use the following:

radToolStripItem.OverFlowManager.DropDownButton.Enabled = false

 
Sincerely yours,
Rob
the telerik team
0
Marek
Top achievements
Rank 1
answered on 11 Jun 2007, 10:22 AM
Along similar lines, is it possible to hide the add/remove items menu item, but leave the overflow button functionality intact?

Thanks

Best regards

Marek
0
Boyko Markov
Telerik team
answered on 11 Jun 2007, 04:22 PM
Hello Marek,

A possible solution is to handle the DropDownOpened event of RadToolStripItem's DropDownButton. You could access that button by using the OverFlowManager property of RadToolStripItem which gives you an instance of  ToolStripItemsOverFlow class, and then use its DropDownButton property and subscribe to the DropDownOpened event of that button.

In the EventHandler you could change the visibility state of the last item, which in our case is the add/remove items menu item, and is a child of the DropDownButton's items collection.

Write back if you need further assistance.

 
Best wishes,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Marek
Top achievements
Rank 1
answered on 12 Jun 2007, 06:17 AM
Hi Ray
Many thanks for that, although I would really expect a property along the lines of AllowCustomization = true/false for this kind of thing.

Any chance it could be added to your TODO list?

Best regards

Marek
0
Jordan
Telerik team
answered on 13 Jun 2007, 10:36 AM
Hi Marek,

Thank you for the suggestion. We have logged it and will consider its implementation for the 2007 Q2 release.
 

All the best,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
keith robideau
Top achievements
Rank 1
answered on 26 Oct 2009, 06:26 PM
Was this feature ever implemented?

0
Boyko Markov
Telerik team
answered on 29 Oct 2009, 10:19 AM
Hello keith robideau,

No, we have not added a property called AllowCustomization. However you have full access to the menu items in the toolstripitem dropdown button through the properties of RadToolStripItem class. You can customize the items very easily and if you need you can also hide the toolstripitem overflow button.

Could you please explain in more details the desired toolstrip functionality of your scenario? This will help us understand the specific case and we will do our best to give you the best solution.

I hope this helps.

Greetings,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Toolstrip (obsolete as of Q3 2010)
Asked by
Todd Gill
Top achievements
Rank 1
Answers by
Vassil Petev
Telerik team
Marek
Top achievements
Rank 1
Boyko Markov
Telerik team
Jordan
Telerik team
keith robideau
Top achievements
Rank 1
Share this question
or