RadRibbonButton LargeImage problem

3 posts, 0 answers
  1. Bruno Samardzic
    Bruno Samardzic avatar
    3 posts
    Member since:
    Mar 2010

    Posted 31 Jan 2012 Link to this post

    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. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 03 Feb 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Bruno Samardzic
    Bruno Samardzic avatar
    3 posts
    Member since:
    Mar 2010

    Posted 03 Feb 2012 Link to this post

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