5 Answers, 1 is accepted
0

Richard Slade
Top achievements
Rank 2
answered on 08 Oct 2010, 09:46 AM
Hi,
This wouldn't be possible. The main reason is that RadToolStripItems accepts only items of type RadItem. If you make a user control, then it would no longer be a RadItem.
Best regards,
Richard
This wouldn't be possible. The main reason is that RadToolStripItems accepts only items of type RadItem. If you make a user control, then it would no longer be a RadItem.
Best regards,
Richard
0

Emanuel Varga
Top achievements
Rank 1
answered on 09 Oct 2010, 12:27 AM
Hello Hon,
There might be a way using RadHostItem, you could check out this similar KB Article that shows how to add controls to a Ribbon Bar.
The usage of RadHostItem is very simple and intuitive:
But i have to warn you, you might have to do some tests and tweaks before you will get the size and everything right.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
There might be a way using RadHostItem, you could check out this similar KB Article that shows how to add controls to a Ribbon Bar.
The usage of RadHostItem is very simple and intuitive:
var button =
new
RadButton();
var hostItem =
new
RadHostItem(button);
radToolStripItem1.Items.Add(hostItem);
But i have to warn you, you might have to do some tests and tweaks before you will get the size and everything right.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
0

Richard Slade
Top achievements
Rank 2
answered on 09 Oct 2010, 10:13 PM
Hi again,
There is a forum post here about adding a different control to a ToolStripItem, but as Emanuel said, you will probably have some issues with sizing. However, as far as I'm aware, there is a replacement for the Toolstrip on its way for Q3,
Hope that helps
Richard
There is a forum post here about adding a different control to a ToolStripItem, but as Emanuel said, you will probably have some issues with sizing. However, as far as I'm aware, there is a replacement for the Toolstrip on its way for Q3,
Hope that helps
Richard
0
Hello hon,
Thank you for writing.
Indeed, the way to place a user control in RadTooStrip is to first put it in a RadHostItem. However, since RadToolStrip is using our old layout system, some sizing issues might be expected.
I want to confirm Richard's statement regarding the new control that we are currently developing - RadCommandBar. This control will be introduced in Q3 2010 and it will substitute the current toolstrip implementation.
Kind regards,
Stefan
the Telerik team
Thank you for writing.
Indeed, the way to place a user control in RadTooStrip is to first put it in a RadHostItem. However, since RadToolStrip is using our old layout system, some sizing issues might be expected.
I want to confirm Richard's statement regarding the new control that we are currently developing - RadCommandBar. This control will be introduced in Q3 2010 and it will substitute the current toolstrip implementation.
Kind regards,
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items