Telerik Forums
Reporting Forum
0 answers
117 views
Is there a way I could use a telerik reporting window to display a web pag? I have a series of charts that are rendered with the HighCharts javascript library and would like to display them in a report like way with paging. Is this possible?
Michael
Top achievements
Rank 1
 asked on 30 Jan 2012
1 answer
663 views
In my 2 page report I want first page orientation as portrait and second page in landscape. Page size can also be different. How can I achieve it?
Steve
Telerik team
 answered on 30 Jan 2012
3 answers
232 views
Hello we are using the silverlight viewer to see generated reports also I have installed the adobe reader 9.0.3 to
print the reports from browser. Now when i use firefox and i press the print button i get the printpreview from adobe. When
i use IE7 Browser i get a file dialog to save the pdf. How can i show the preview dialog directly like in firefox without
save dialog? Is it also possible to print the report without the adobe reader pdf plugin?  greetings Ulrich ...
Steve
Telerik team
 answered on 30 Jan 2012
3 answers
128 views
I would like to create a report with a barcode contain page numbers data and print it on left-center of the paper to identify the document.
Steve
Telerik team
 answered on 30 Jan 2012
7 answers
214 views
Hello,
I have a problem with a component of Telerik Reporting
Not because you can see so the Reporting viewer.

Of hands to thank you very much!.


bin zhu
Top achievements
Rank 1
 answered on 29 Jan 2012
1 answer
260 views
A scenario was presented to determine whether or not Telerik Reporting can handle it.  There are several reports that need to load image files that are defined in the database.  For example the database contains six columns that may be populated with a file name for the image that should be displayed on the report.  At this point I know that I can load the images in this fashion by calling a function that returns an image to set the picturebox value property.  Additionally, in cases where an image is not defined or can not be found I can return a default image (blank.png).

Now I need to add six pictureboxes to my report to allow me to define and display all six images.  I would prefer to do this at design time but if it has be done at runtime I can deal with that.  In some cases I might only be displaying three out of the six images.  In this case, we need to be able to hide the images that are not being displayed and center the remaining images in the container (Panel).  Is this something that can be accomplished either by setting properties or by developing code to handle it?
Peter
Telerik team
 answered on 27 Jan 2012
0 answers
154 views
I have a blob image stored in a mySql database. I can render the image just fine via an ahsx handler to display on my webpages using the code:
context.Response.ContentType = "image/jpeg";
byte[] img = businessProvider.GetImage(Convert.ToInt32(id));
context.Response.BinaryWrite(img);
context.Response.End();

I'm also wanting to display the image on a telerik report. I've set the value of the picturebox to the byte[] property on the business object and set the mimetype to "image/jpeg"; When i run the report the picturebox displays an error that reads "invalid image data".

Any ideas what to look for?

Thanks, Donta
Donta
Top achievements
Rank 1
 asked on 27 Jan 2012
1 answer
135 views
In the examples that demonstrate the use of the document map the way in which it is displayed (font size, style, etc) is different.  I am trying to determine how I can change they way this content is rendered but I can not seem to find it.  I am currently looking how to make this work using the Web Viewer.
Steve
Telerik team
 answered on 27 Jan 2012
9 answers
485 views
Does anyone know how to bind a report to a webservice and have it call that service each time the parameters change or the report is refreshed?  I have not seen any answers to this.  I have tried to override the OnNeedDataSource in a base class, handling the NeedDataSource event and according to all the other post this only gets called when the datasource is null which is only once.  Something does not seem right here.  I should be able to update my datasource any time the report needs to be refreshed, or at least have the option.  So if anyone has a complete example how to bind a report to a webservice and send parameters please post a solution.  I am trying to do something like this in the NeedDataSource is my base report:


if (string.IsNullOrEmpty(this.StoredProcedureName))
{
    base.OnNeedDataSource(sender, e);
    return;
}
 
object[] parameters = new object[this.ReportParameters.Count];
for (int index = 0; index < this.ReportParameters.Count; index++)
{
    Telerik.Reporting.ReportParameter trp = this.ReportParameters[index];
    parameters[index] = new object[] { "@" + trp.Name, trp.Value };
}
 
this.DataSource = WebServiceProxy.Execute(StoredProcedureName, parameters);

Thanks for your help,

Jason
Lars
Top achievements
Rank 1
 answered on 27 Jan 2012
4 answers
120 views
I'm trying to generate a report which uses data in a parent-child relationship.  For any Item X, it may have any number of Sub-Items.   I can set this up to work with a subreport, but then the Sub-items will only list vertically, as a subreport cannot be multi-columned. 

Also, the Sub-Items are being generated from a Stored Procedure which takes as a parameter the key of the Item.

I was hoping to overcome this by including a table in the main report which used the Stored Procedure data to list the Sub-Items, but I'm not sure how to execute the stored procedure for each item in the main report.  Can this be done?

Paul
Top achievements
Rank 1
 answered on 26 Jan 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?