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

LargeImage Referenced Assembly

3 Answers 70 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 12 Oct 2012, 04:22 AM
Hello,

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):
<Button>
    <StackPanel>
       <Image Source="pack://application:,,,/ESCCommon;component/Images/find32.png" />
   </StackPanel>
</Button>

How do I get the LargeImage to display?

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 17 Oct 2012, 06:19 AM
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.

0
Peter
Top achievements
Rank 1
answered on 17 Oct 2012, 11:23 PM
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.
0
Andrew
Top achievements
Rank 1
answered on 04 Jul 2013, 04:37 AM
--post deleted-- I found a solution to this in the sample  ./RibbonTest/MainWindow.xaml code.

THANK YOU!



Tags
RibbonView and RibbonWindow
Asked by
Peter
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Peter
Top achievements
Rank 1
Andrew
Top achievements
Rank 1
Share this question
or