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

RadRibbon populating from XML a RibbonBarTemplateItem

1 Answer 42 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
francis
Top achievements
Rank 1
francis asked on 05 Dec 2011, 04:07 PM
Hello,

I am loading my RadRibbonBar from an XML and wanted to know the format in which i can add a RibbonBarTemplateItem . The example at the demo site does not mention anything about a template ribbon items. Also is it possible to show a ribbon button without an image and just the TEXT also how do i wrap the text of the Button im adding .. ???

Thanks & Regards,
Francis P.

1 Answer, 1 is accepted

Sort by
0
Accepted
Damon
Top achievements
Rank 1
answered on 05 Dec 2011, 08:28 PM
Hi Francis,
    I asked thesame thing about loading template from XML and was told it isn't supported. See the following thread:
http://www.telerik.com/community/forums/aspnet-ajax/ribbonbar/load-ribbon-template-item-from-xml.aspx.  My work around was to build the template item in the ribbon loading event and add it to the proper group by locating the group with the FindGroupByValue("") method on the ribbonbar.
I can't answer your questions about the button with just text and wrapping of that text. Sorry.

the text is rendered into a span. It might not be possible the way the ribbon is rendered without overlapping the next item in the ribbon.
Tags
RibbonBar
Asked by
francis
Top achievements
Rank 1
Answers by
Damon
Top achievements
Rank 1
Share this question
or