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

Change the default RibbonBar images

4 Answers 66 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Alok
Top achievements
Rank 2
Alok asked on 08 Oct 2012, 08:47 AM
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.

4 Answers, 1 is accepted

Sort by
0
Alok
Top achievements
Rank 2
answered on 09 Oct 2012, 04:41 AM
Telerik Admin please reply asap.
0
Bozhidar
Telerik team
answered on 11 Oct 2012, 07:36 AM
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.
0
Alok
Top achievements
Rank 2
answered on 15 Oct 2012, 10:40 AM
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.
0
Bozhidar
Telerik team
answered on 16 Oct 2012, 09:56 AM
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.
Tags
RibbonBar
Asked by
Alok
Top achievements
Rank 2
Answers by
Alok
Top achievements
Rank 2
Bozhidar
Telerik team
Share this question
or