Telerik Forums
Reporting Forum
3 answers
126 views
I migrated from Telerik Reporting 2013 Q3 to 2014 Q1.
I was surprised to see that setting Style.Font.Bold=true applies the style "font-weight:600" instead of "font-weight:bold".
This leads to Chrome not showing elements in bold...

Anyone know how to fix this?
This appears to be a bug in the latest reporting.
Mike
Peter
Telerik team
 answered on 09 Jun 2014
5 answers
420 views
On the demo when I print with the HTML5 viewer it creates a popup and then downloads a PDF, when I click on the PDF, then it brings up a print menu. A longer process and hoops to go through and more pop-up blocking.
Now vs the ASP.NET version on the demo, it just brings up the printing dialog.
I'm using chrome on windows 8.1.

I think my question is more on the future of reports.  HTML5 viewer is new and probably has stuff to work out.  I'm currently using ASP.NET viewer and I'm very happy with it.  The ASP.NET viewer isn't going away anytime soon in favor or HTML5 is it?  Are there any advantages of the HTML5 viewer that should make me drop the ASP.NET one?
Peter
Telerik team
 answered on 09 Jun 2014
2 answers
1.2K+ views
Hi,

So I am testing the report designer and trying to figure how to display images without embedding it inside the report. In easense I want to create a header and footer images so I can use them across all reports without the need to embed the binary of the two images in every page.

Is this possible or should I use the VS plugin?

Thanks
Aziz
Top achievements
Rank 1
 answered on 07 Jun 2014
5 answers
227 views
We inherited old Telerik 2011 code and our Telerik reports are failing with Telerik 2014 Q1.  We have good reports generated from the earlier version. The SurveyID does have a valid integer but the Datasource is failing.  The following has Bolded text being the failing code:

' Instantialte the report object and assign data sources to report and subreports
Dim Report1 As New Reporting.MstrRpt_LESD_Preview()
Dim SurveyID As New Int32
SurveyID = CInt(Session("LESD_SurveyID"))
Report1.DataSource = LESD.ConfigurePreviewReport(SurveyID)

CType(Report1.Items("detail").Items("SubReport1"), Telerik.Reporting.SubReport).Report.DataSource = LESD.ConfigurePreviewSubReportBase(SurveyID)
CType(Report1.Items("detail").Items("SubReport1"), Telerik.Reporting.SubReport).Parameters.Add("LESD_STE_CHECKED", chkIncludeSteInfo.Checked)
CType(Report1.Items("detail").Items("SubReport1"), Telerik.Reporting.SubReport).Parameters.Add("LESD_STE_NAME", rtbSteName.Text.Trim)
CType(Report1.Items("detail").Items("SubReport1"), Telerik.Reporting.SubReport).Parameters.Add("LESD_STE_PHONE", rtbStePhone.Text.Trim)
CType(Report1.Items("detail").Items("SubReport1"), Telerik.Reporting.SubReport).Parameters.Add("LESD_STE_EMAIL", rtbSteEmail.Text.Trim)
CType(Report1.Items("detail").Items("SubReport1"), Telerik.Reporting.SubReport).Parameters.Add("LESD_STE_COMPCODE", rtbSteCompCode.Text.Trim)
CType(Report1.Items("detail").Items("SubReport2"), Telerik.Reporting.SubReport).Report.DataSource = LESD.ConfigurePreviewSubReportNonBase(SurveyID)

Reporting_Utilities.ReportToPDF(HttpContext.Current, Report1)

End Sub

The excepton says:

System.NullReferenceException was unhandled by user code.
Additional information: Object reference not set to an instance of an object.

The SurveyID is an integer.  It should select a report based on which integer was selected.

Any ideas as to why it is failing?
Ron
Top achievements
Rank 1
 answered on 06 Jun 2014
1 answer
67 views
Hello, I have a problem.

In computer of developers, the report is ok, but in other computer, it is not ok. why? 

Help me, please.

THANKS
Ivan Hristov
Telerik team
 answered on 06 Jun 2014
2 answers
121 views
Telerik.ReportViewer.Silverlight 8.0.14.507

System.Windows.Data Error: BindingExpression path error: 'ExportToolTip' property not found on 'Telerik.ReportViewer.Silverlight.ReportViewerModel' 'Telerik.ReportViewer.Silverlight.ReportViewerModel' (HashCode=3057817). BindingExpression: Path='ExportToolTip' DataItem='Telerik.ReportViewer.Silverlight.ReportViewerModel' (HashCode=3057817); target element is 'System.Windows.Controls.ToolTip' (Name=''); target property is 'Content' (type 'System.Object')..

And my Telerik.ReportViewer.Silverlight.TextResources.pl-PL.resx doesn't work. How can I roll over my localization?
ADM-IT Denis Pujdak
Top achievements
Rank 1
 answered on 06 Jun 2014
1 answer
182 views
I am utilizing the HTML5 Viewer with ASP .Net MVC.  I have a page with a table of records.  Each record has a link to a corresponding report for that row.  It opens this report in a new window.  No problems there.  The problem occurs when I click on another row or on a hyperlink within the open report that links to another report.  Either method attempts to open the new report in the same window.  The URL will change and the screen will appear to try to reload; however, the same report is displayed.  

This same scenario happens in Firefox, Chrome, and IE.

If I copy the new URL from the address bar of the browser and paste in a new tab or window, it opens the expected document.

Any idea why I cannot load a new report in the same window as the existing report?

Thanks,
Scott


Nasko
Telerik team
 answered on 05 Jun 2014
1 answer
140 views
Using the Report Designer the minimum Base Unit for DateTime Scale is Minute.

Is there any way to set as Seconds as Base Unit for 
DateTime Scale Coordinate System programmatically ?

Michele
Ivan Hristov
Telerik team
 answered on 05 Jun 2014
2 answers
231 views
Hi 

I currently have a web application that shows a telerik report.
The report works fine

I needed the reports to be mailed daily at a certain time to relevant people so i created a mailer in a console app that runs at a certain time.

The code i used is below

Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor()
            Dim oreport As New cReportLibrary.report
            oreport.ReportParameters.Item("par1").Value = "111"
            Dim Result As RenderingResult = reportProcessor.RenderReport("PDF", oreport, Nothing)
            Dim ms As New MemoryStream(Result.DocumentBytes)
            ms.position = 0


The email sends perfectly fine problem i am having is when i open up the PDF in the email  i get the following error
An error has occurred while processing Report 'CustProfile':

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 present in the configuration file of your application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.

How could i add the datasource in my console app that telerik will be able to refrence and send the report without an error
Ismail
Top achievements
Rank 1
 answered on 05 Jun 2014
0 answers
122 views
As seen in screenshots attached, the SP is returning data as expected when the ExecuteQuery is clicked:

Unfortunately, once you're returned to the Choose Data Source page of the ReportWizard, only one of the twenty fields shows up:

And similarly on the next page (), only that one field shows up:

What is the issue here?  I've done this MANY times and it isn't working.  It worked fine a few days ago, so I don't know what has changed.  Because of this issue, I'm unable to design my report.

This is a cross-post (originally posted in Reports forum, seems like this may be the more appropriate place for this - please advise).


Thanks,

Jared
Jared
Top achievements
Rank 2
 asked on 04 Jun 2014
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?