RadRibbon populating from XML a RibbonBarTemplateItem

2 posts, 1 answers
  1. francis
    francis avatar
    12 posts
    Member since:
    Jan 2008

    Posted 05 Dec 2011 Link to this post


    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.
  2. Answer
    Damon avatar
    5 posts
    Member since:
    Jul 2012

    Posted 05 Dec 2011 Link to this post

    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.
Back to Top