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

RadToolstrip with [checkbox][Image][Text]

2 Answers 120 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.
suneetha inturi
Top achievements
Rank 1
suneetha inturi asked on 06 Oct 2009, 09:31 AM
Hi
I want to build a radtoolstrip with [checkbox][image][text] in dropdown.I have seen most of the controls(like radmenu item) have image and text.radcheckboxelement has [checkbox][image][text]  this feature.But we are unable to add it to radsplitbuttonelement.
Is there any control which satisfies my requirement.

Thanks
Suneetha.

2 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 07 Oct 2009, 04:43 PM

Hello Suneetha,

 

You can actually use a RadMenuContentItem to create this type of menu item. You can assign any RadElement based control to the ContentElement property of a RadMenuContentItem. Once doing that, you will simply need to add your newly created RadMenuContentItem to the items collection of the RadSplitButtonElement. Also, as shown in this example, you can add a RadElement based control directly to the items collection of a RadMenu and it will automatically create the RadMenuContentItem for you. This also works when done with the RadSplitButtonElement items collection:

 

RadCheckBoxElement checkBoxElement = new RadCheckBoxElement();

checkBoxElement.Image = global::MyProject.Properties.Resources.rss_small;

checkBoxElement.Text = "Hello World";

 

radSplitButtonElement1.Items.Add(checkBoxElement);

- Robert

0
Martin Vasilev
Telerik team
answered on 09 Oct 2009, 06:48 AM
Hello Robert,

Thank you very much for the answer. I would like only to provide the public links for the help topics below: RadMenu-Nested Controls and RadMenu-Nesting Controls Tutorial.

Suneetha, hope Robert's code and help topics are useful. Do not hesitate to write us again if you need additional assistance.

Greetings,
Martin Vasilev
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
suneetha inturi
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Martin Vasilev
Telerik team
Share this question
or