Hello,
I*m using:
Telerik Reporting 2012 Q3 - Version=6.2.12.1017
Visual Studio 2010
Silverlight 5
Problem:
Icons are missing when I want to show the report in a window programatically:
Example of a request for an image that is automatically made:
If I try this in XAML then all icons are loaded (no extra requests are made like the one above):
I'm doing something wrong?
Thanks in advance.
I*m using:
Telerik Reporting 2012 Q3 - Version=6.2.12.1017
Visual Studio 2010
Silverlight 5
Problem:
Icons are missing when I want to show the report in a window programatically:
var report =
new
ReportViewer
{
Report =
"Test.MyReport, Test"
,
ReportServiceUri =
new
Uri(
"../ReportService.svc"
, UriKind.Relative)
};
var grid =
new
Grid();
grid.Children.Add(report);
var window =
new
ChildWindow
{
Content = grid
};
window.Show();
Example of a request for an image that is automatically made:
-
Request URL:http://localhost:3798/Telerik.ReportViewer.Silverlight;component/images/Print.png
-
Request Method:GET
-
Status Code:503 Service Unavailable
If I try this in XAML then all icons are loaded (no extra requests are made like the one above):
<
controls:ChildWindow
x:Class
=
"Views.MyChildWindow"
xmlns:controls
=
"clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns:telerik
=
"clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:ReportViewer
x:Name
=
"ReportTestViewPrint"
ReportServiceUri
=
"../ReportService.svc"
Report
=
"Test.MyReport, Test"
>
</
telerik:ReportViewer
>
</
Grid
>
</
controls:ChildWindow
>
var window = new MyChildWindow();
window.Show();
I'm doing something wrong?
Thanks in advance.