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

RadRibbonButton LargeImage problem

2 Answers 125 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Bruno Samardzic
Top achievements
Rank 1
Bruno Samardzic asked on 31 Jan 2012, 07:25 PM
Hello, 


I have a following problem:
I set the LargeImage property of RadRibbonBart to a path. ie  LargeImage="../Assets/Images/icons/Partner.png". It all works for tabs  nad button images that are loaded with application itself.
However, when i programmatically add another tab, the images which haven't been displayed before are NOT shown.
What's even weirder, if i try to change the image on the start tab, that one would be shown, the other one won't. 
Don't have a clue of what's happening here. It seems there's some kind of rendering or preloading issue going on.

capture.jpg shows the start tab, capture2.jpg shows the programmatically added tab.
Paths are all double checked, the funniest thing is that if i change the an image on a starting tab, that one would  be shown, the left out wouldnt. 

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 03 Feb 2012, 03:24 PM
Hello Bruno Samardzic,

 Could you please check out my test project, in it the button's Click adds new tab with group,large button and image inside. Is it possible for you to replicate your issues in this sample or let me know if I have missed something ? Thank you in advance  for your cooperation.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Bruno Samardzic
Top achievements
Rank 1
answered on 03 Feb 2012, 06:23 PM
Hello,

Thank you for your help, i sorted out the issue in the meanwhile, it was just my relative path to image, because i moved one part of ribbon to another folder. What confused me about it is that even though the path was wrong on that subcontrol, the image was shown anyway if that particular image was shown before, so i didn't suspect the path. Seems like the control tried to help me but instead confused me:).
Tags
RibbonView and RibbonWindow
Asked by
Bruno Samardzic
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Bruno Samardzic
Top achievements
Rank 1
Share this question
or