The reports are generated on the server. In this scenario, the application must have access to the specified resource. In general, when you provide an URL as a PictureBox.Value, we use a WebClient to download the image. At that point, the connection to server fails with the statement that the application's process is not authorized to get the resource.
What actually do you return from Dwnlod method? Is it the report or the picture?
You can test to create a User Function that will download the image after authorizing and returns it (e.g. as type Bitmap) for the picture box value.
The User Function (without authorization) might look as follows:
public static Bitmap GetImage(string url)
System.Net.WebRequest request = System.Net.WebRequest.Create(url);
System.Net.WebResponse response = request.GetResponse();
System.IO.Stream responseStream = response.GetResponseStream();
Bitmap bitmap = new Bitmap(responseStream);
Note that it will be necessary to authorize the request to successfully download the image from the URL.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items