I have a telerik report that on the hear I want to display a logo that would co with the client the report is being printed for. I know if I put the images on a network drive and then in the dataset returned I return the th file location and then
this will work. but I would rather point to a file that is in the resources folder of the project. This is a WPF project
On the forms of the wpf application I can add
and it gets the logo from my resources folder. I would like the report to get the image from that same location.
private void reportHeader_ItemDataBinding(object sender, EventArgs e)
{
this.LogoImage.Value = "=Fields.Logo";
}
this will work. but I would rather point to a file that is in the resources folder of the project. This is a WPF project
On the forms of the wpf application I can add
Image1.Source = new BitmapImage(new Uri(@"/Resources/" + c.Logo,UriKind.Relative));
and it gets the logo from my resources folder. I would like the report to get the image from that same location.