Hello,
I want to create a rad dropdown button with items that only display an image with no text.
For each RadMenuitem, I deleted the text, and set the displayStyle to "Image;" however, the text portion of the menu items still show up with blank text and make the menu very large.
Thanks,
Mike
I want to create a rad dropdown button with items that only display an image with no text.
For each RadMenuitem, I deleted the text, and set the displayStyle to "Image;" however, the text portion of the menu items still show up with blank text and make the menu very large.
Thanks,
Mike
4 Answers, 1 is accepted
0
Hello Mike,
The current layout of the RadMenuItem does not allow the desired behavior out-of-the-box. However, it is generally possible to achieve what you want with some tweaks in the layout of the menu popup and in the layout of the menu item. I am attaching a sample project which demonstrates what customizations should be applied.
I hope this helps.
Greetings,
Nikolay
the Telerik team
The current layout of the RadMenuItem does not allow the desired behavior out-of-the-box. However, it is generally possible to achieve what you want with some tweaks in the layout of the menu popup and in the layout of the menu item. I am attaching a sample project which demonstrates what customizations should be applied.
I hope this helps.
Greetings,
Nikolay
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Michael
Top achievements
Rank 1
answered on 12 Jul 2012, 09:33 AM
Thank you for the sample project. It works perfect in C#.
I tried converting it to vb.net. I cannot rewrite the MyMenuItem Class correctly because I get some read only / write only errors. Can you translate that class for me into vb?
Thanks a lot,
Mike
I tried converting it to vb.net. I cannot rewrite the MyMenuItem Class correctly because I get some read only / write only errors. Can you translate that class for me into vb?
Thanks a lot,
Mike
0
Accepted
Hi Mike,
Nikolay
the Telerik team
Please find attached to my reply the sample project translated in VB.NET
I hope this helps.
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Michael
Top achievements
Rank 1
answered on 17 Jul 2012, 01:39 PM
Thanks Nikolay,
It works perfectly.
Mike
It works perfectly.
Mike