LargeImage Referenced Assembly

4 posts, 1 answers
  1. Peter
    Peter avatar
    95 posts
    Member since:
    Mar 2009

    Posted 11 Oct 2012 Link to this post


    I have a RadRibbonButton and in it I set the LargeImage property. ie:
    <RadRibbonButton LargeImage="pack://application:,,,/ESCCommon;component/Images/find32.png" />

    (ESCCommon is ofcourse in a different project in the solution)

    The program crashes saying it can not find this image file, yet elsewhere in the same project I have an image with source set to the same image and it finds it (ie this works):
           <Image Source="pack://application:,,,/ESCCommon;component/Images/find32.png" />

    How do I get the LargeImage to display?

  2. Answer
    Petar Mladenov
    Petar Mladenov avatar
    3162 posts

    Posted 17 Oct 2012 Link to this post

    Hi Peter,

     This seems strange. We believe this issue issue has nothing to do with the Source/Path of the image but may be some rendering problem / problem caused by the quality of the picture. We tried to reproduce this in a sample project which you can check out in the attachment. Is it possible to try it with your picture and to try your application with another picture. If different pictures produce the same effect, is it possible for you to send us more from your code , this way we would be better able to investigate it and advice you more precisely. Thank you in advance.

    Kind regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Peter
    Peter avatar
    95 posts
    Member since:
    Mar 2009

    Posted 17 Oct 2012 Link to this post

    Hi Petar,

    Thanks for creating a project for this issue. Adding my find32.png image to the project you provided has indeed rendered it like it should. Quite a mystery, I'm not sure what to do about it now. Nevertheless, I appreciate your help.
  4. Andrew
    Andrew avatar
    1 posts
    Member since:
    Jun 2013

    Posted 03 Jul 2013 Link to this post

    --post deleted-- I found a solution to this in the sample  ./RibbonTest/MainWindow.xaml code.


Back to Top