Change the default RibbonBar images

5 posts, 0 answers
  1. Alok
    Alok avatar
    39 posts
    Member since:
    Feb 2009

    Posted 08 Oct 2012 Link to this post

    Hi,

    I need to change the default RibbonBar images. If the we add approx. 30 RadRibbonItem in a RadRibbonGroups, it picks the default RibbonBar images (if we don't add imageurl). I already have a customized default icon for the RadRibbonItem, but it doesn't pick the customized ribbonimage after 17-18 ribbon items are added.

    Below is the url of the default RibbonBar items

    <img title="" class="rrbButtonImage" style="visibility:visible;" alt="Item Image" src="/Project/WebResource.axd?d=aiNB5OmQeNHVf5XWk97-tMFIIzmuwsC9HNSxCKe1M4-JmQYIEnPBVjt7MpL3voxN3azNeKtr7v83kvmeXWrcYGa5IwnR-ZE6EJPsGTC97bU1&t=634849188040000000" complete="complete"/>

    Here the red cross image is the default icon

    Customized image when no imageurl is added.


    Please suggest.
  2. Alok
    Alok avatar
    39 posts
    Member since:
    Feb 2009

    Posted 08 Oct 2012 Link to this post

    Telerik Admin please reply asap.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 11 Oct 2012 Link to this post

    Hello Alok,

    Can you elaborate on how exactly are you changing the default image.
     
    Greetings,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Alok
    Alok avatar
    39 posts
    Member since:
    Feb 2009

    Posted 15 Oct 2012 Link to this post

    Hi,

    We are setting "ImageURL" property of Ribbon Items to set the image for the Ribbon Item, when the orientation of the RibbonItems Group is "Horizontal".
    But if we add large number of ribbon items in ribbon group then it picks the default RibbonBar images and sets the orientation to Vertical.

    So, basically we are not changing the default image of the ribbon item, we are just adding an image one we dynamically create a Ribbon, and if the user edits the ribbon item then it picks the new image. But my functionally doesn't work when the ribbon items exceeds a no. (17-18 approx)

    Please reply ASAP.
  6. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 16 Oct 2012 Link to this post

    Hello Alok,

    I've tried to reproduce the problem, but to no avail. Please review the attached page and see if it's working on your side. If your code is somehow different, please send the code that defines/creates the RibbonBar, so that we can test it locally.
     
    Greetings,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017