Telerik Forums
Reporting Forum
2 answers
212 views
Hi,

I am currently creating a Function that will create separate Telerik Reports for each item in a List. I then need to export each Report to a PDF to a specific location behind the scenes, without launching an HttpResponse.

Is there a way to programmatically export a Telerik Report to a specific location without calling an HttpResponse?

Best Regards,

Landon
Steve
Telerik team
 answered on 16 Dec 2010
1 answer
407 views
Hi,

I would like to export my reports as HTML with the inline images instead of the links with StreamID currently created by exporting to HTML.

I have set the Value of my picture box to:

this.pictureBox1.Value = "http://image.url/image.jpg";

I currently use the following code to export to HTML:

private Stream GetHtml(IReportDocument report)
{
    //Calls WebOperationContext.Current.OutgoingResponse.ContentType
    Settings.ContentType("text/html");             
    var reportProcessor = new ReportProcessor(); 
    var result = reportProcessor.RenderReport("HTML", report, null);
    return new MemoryStream(result.DocumentBytes);
}

this renders images like this:

<img src="&StreamID=i1f3amm2v1v"/>

However I would like it to render the images like this:


or maybe like this (using data urls):

<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD..."/>

 
Are there any way to configure the export to include the images?
Peter
Telerik team
 answered on 15 Dec 2010
1 answer
151 views
I have used the automatic report distribution in SSRS and clients like that feature.  I found a couple of places where Telerik suggests that it might be on the roadmap for reporting.  But is it near or not?  I like the results of the Telerik reports better than SSRS, but I need to distribute them.  If it isn't something that is going to be done soon, I may do it myself.  I have a pretty good idea of how I would implement it, but I don't want to put in time on that if you are going to release something soon.

Thanks
Peter
Telerik team
 answered on 15 Dec 2010
1 answer
46 views
Dear,

We currently using Telerik in our development. and we planning to migrate our servers, developpers and users PCs from from office 2000 to office 2007.

We wonder if there is any impact on our product already developed or those to be developed?
we would like your confirmation for Export function that we use with telerik, is't built-in and independant from Excel or is it depend on our office version that is installed on our servers?
Thanks for your support and help.

Peter
Telerik team
 answered on 15 Dec 2010
2 answers
108 views

Hi, I am testing out the Q3 report tool in Silverlight. When I use a straight sql select, there is no problem. When I select a stored procedure and click next, it crashes with the error

"Exception has been thrown by the target of an invocation."



Image attached.

Also, I would appreciate an overview of the connection string. In the data source I have the connection string as follows
ReportLibrary.Properties.Settings.Generis_V26. But there is also the app.config with the connection strings.

Does the dll use the app.config? Can the app.config be access once the dll is in production? What connections tring gets passed to the dll?

My final question is thus. When I run the report in preview, I connect to the database without issue. When I compile and run the app and access the report, I get a connection error. For testing purposes, the app is set to connect to a different DB to the report. When I do a SQL Trace, I can see that the report is trying to access the same DB as the app. This suggests that the reports inherit the app's connection string. Could you please provide some clarity around this?

Many thanks

Steven
ps, ignore the image, i got the wrong one and cant seem to delete it. Please view the reply from me

 

Steve
Telerik team
 answered on 15 Dec 2010
6 answers
172 views
Hello, Staff!
I created report which consists of 3 subreports. 
Each subreport have more than 100 records and the height of subreport is calculating incorrect. Part of data is cut.
When I set the height of html element manually (using Developer Toolbar or FireBug) I see hidden part of data.
Is it an issue of Telerik reports?

Also why the subreport placed on one page on preview? Is it the software limitation? 

Thanks!

Steve
Telerik team
 answered on 15 Dec 2010
10 answers
176 views
When I look at my report in the silverlight viewer, the text in my textboxes are not aligned the way I set them.  They return to the default left.  If I look at the report preview, asp.net report, or even if I export to PDF from my silverlight viewer it looks fine. 
Steve
Telerik team
 answered on 15 Dec 2010
1 answer
214 views
I have followed telerik video to pass the report parameters at runtime.
My VB Code in Web Application looks like as below::

Default.aspx.vb
Dim FullnameRpt As New ClassLibrary1.Fullname()
FullnameRpt.Param = tbWorkerId.Text
ReportViewer1.Report = FullnameRpt
ReportViewer1.RefreshReport()

Fullname.vb
Public Property Param() As String
Get
Return
SqlDataSource1.Parameters(0).Value.ToString
End
Get
Set(ByVal value As String
)
SqlDataSource1.Parameters(0).Value = value
End
Set
End
Property

This same report works fine at design time.
but doesnt not work at runtime at all,even if i pass the paramter value as default value.
It gives me error as follows:
An error has occurred while processing Report '':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.

Steve
Telerik team
 answered on 15 Dec 2010
2 answers
94 views
Hi,

I have a requirement to display some data in Appendix section at the end of the report.
The report detail section has multiple panels and tables inside that which populate dynamically, so their size is undetermind till runtime.
All I want is to show Appendix page at the end of report in new page not in continuation with the report.
Please suggest as I could find any sample or example to refer.
FYI I have Telerik Reporting Q2 2010.

Thanks,
Riyaz
Jonathan
Top achievements
Rank 1
 answered on 15 Dec 2010
2 answers
115 views
Hi Telerik,

I'm beginer user of Telerik components. I have problem with use Telerik.Reporting.
After I add ReportViewer or simply use some class from namespace Telerik.Reporting I get this warning below:

The referenced assembly "D:\PROJEKTY\EastSoft.HandelForte.Konfiguracja\bin\Debug\ES.HandelForte.Konfiguracja.dll" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.  

After this warning I cant buid project with have reference to ES.HandelForte.Konfiguracja.dll.
This ES.HandelForte.Konfiguracja.dll project is set to using .Net Framework 4.0.
I use VS 2010.

Can you help me?

Have a nice day.
Piotr.
Piotr
Top achievements
Rank 1
 answered on 15 Dec 2010
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?