Hi,
We are using Adobe JavaScript "app.execMenuItem('ShowHideBookmarks')" to show the hide bookmarks by default for the PDF generated. It looks like only affecting the report when open the PDF report via Adobe Reader. But when open the same report via IE, the report is opened in a "Read Mode" and both the bookmark and navigation panel are hidden. Is there any default properties( for example, pdf initial view) can be modified via the code when rendering the PDF file? Thanks.
Regards,
Susie
Bit of a newbie to Telerik Reporting. I am working in the standalone Report Designer, and I have been digging around for a way to round values in a calculated field but cannot find anything supported by Telerik. For example:
I'm trying to calculate the total amount owed by creating a calculated field that uses the following logic: Net Weight * Rate = Amount Owed. However, I am trying to establish a way for the rounding to be consistent every time (I have several different reports, and sometimes the differences in rounding will lead to discrepancies between reports).
I have also tried using this formula, but I'm still seeing discrepancies in my reports: = Round( (Fields.UnitPrice * Fields.NetWeight*100) / 100). Additionally, I tried using the VB Script function FormatNumber but I received an error saying this was an undefined function (is it possible to define your own functions?). Simply formatting the field as a number did not help, either.
I need to find a way to tell Telerik to round to two decimal places, but I need it to round either up or down depending on the value so using Floor() and Ceiling() are not going to help.
Thanks in advance!
Hi,
before we start to develope a new app one or two questions to telerik reporting.
As i can see the "TRDX-File" is a xml-Struct. So it should be possible to creat a report on the fly by writting a
txt-file an name it to trdx?! Including a csv-Datasource?
And with the Report Viewer it should be possible to print the report in a pdf File with correct sizing like 15cm width
and 7cm height? So i can send the pdf to a windows label-printer??
Thanks a lot
Regards RENE
hi,
i created a simple Report with an csv-Datasource. But after clicking on "Preview" and saving the report, i can't open it again.
I just get an error:
I use to try out "ReportDesinger R2 2017 TRIAL".
Youe see the error @ the attached file.
This is the report opened with Notepad++
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
Report
DataSourceName
=
"csvDataSource1"
Width
=
"104.999999495347mm"
UnitOfMeasure
=
"Mm"
Name
=
"Report1"
SnapGridSize
=
"0.1cm"
xmlns
=
"http://schemas.telerik.com/reporting/2012/4.2"
>
<
DataSources
>
<
CsvDataSource
RecordSeparators
=
"
"
FieldSeparators
=
",}"
HasHeaders
=
"True"
Name
=
"csvDataSource1"
>
<
Source
>
<
Uri
Path
=
"file://goldab/pcdaten/test.csv"
/>
</
Source
>
<
Columns
>
<
DataColumn
Name
=
"sku"
/>
<
DataColumn
Name
=
"Name"
/>
<
DataColumn
Name
=
"Bild"
/>
<
DataColumn
/>
</
Columns
>
</
CsvDataSource
>
</
DataSources
>
<
Items
>
<
DetailSection
Height
=
"60mm"
Name
=
"detailSection1"
>
<
Items
>
<
Barcode
Width
=
"54mm"
Height
=
"21.0000019073486mm"
Left
=
"36.9999974767368mm"
Top
=
"4.99999747673678mm"
Value
=
"= Fields.sku"
Stretch
=
"True"
Name
=
"barcode1"
>
<
Encoder
>
<
EAN128Encoder
/>
</
Encoder
>
</
Barcode
>
<
PictureBox
Width
=
"25.9999949534736mm"
Height
=
"25.9999989906947mm"
Left
=
"4.99999949534736mm"
Top
=
"4.99999747673678mm"
Name
=
"pictureBox1"
>
<
Bindings
>
<
Binding
Path
=
"Value"
Expression
=
"= Fields.Bild"
/>
</
Bindings
>
</
PictureBox
>
<
TextBox
Width
=
"48.9999954581262mm"
Height
=
"18.9999984860421mm"
Left
=
"4.99999949534736mm"
Top
=
"34.9999984860421mm"
Value
=
"= Fields.Name"
Name
=
"textBox1"
/>
</
Items
>
</
DetailSection
>
</
Items
>
<
PageSettings
PaperKind
=
"Letter"
Landscape
=
"False"
ColumnCount
=
"1"
ColumnSpacing
=
"0cm"
>
<
Margins
>
<
MarginsU
Left
=
"1in"
Right
=
"1in"
Top
=
"1in"
Bottom
=
"1in"
/>
</
Margins
>
</
PageSettings
>
<
StyleSheet
>
<
StyleRule
>
<
Style
>
<
Padding
Left
=
"2pt"
Right
=
"2pt"
/>
</
Style
>
<
Selectors
>
<
TypeSelector
Type
=
"TextItemBase"
/>
<
TypeSelector
Type
=
"HtmlTextBox"
/>
</
Selectors
>
</
StyleRule
>
</
StyleSheet
>
</
Report
>
Thanks a lot
RENE
Hi,
I have a report that is using an EntityDataSource to access data from an EntityFramework context in a separate assembly. When I try to view this report in preview, I see the following message in the Preview tab: "Exception has been thrown by the target of an invocation. Could not load type '<My EF Context Type>' from assembly '<My EF Context Assembly>" This appears to be all the help I get with this issue. How can I move forward? Is there any form of logging that I can access etc. etc? I have subscribed to the report's Error event but that isn't fired.
By the way: I have also written a console application that instantiates the report and exports it to PDF using the ReportProcessor. This works just fine so I know the issue isn't a simple missing reference or similar. Clearly, the report preview functionality has some extra requirements that I am not fulfilling.
Windows 7 64-bit, VSTS 2017 targeting .NET 4.5, Telerik Reporting 11.1.17.614.
NB:
I'm not sure what else you will need so I'll leave it like this for now. Let me know if you need anything else.
Thanks
When using the "Telerik MVC Report Viewer View..." template from within Visual Studio 2015, the wizard properly shows the reports created within the attached Kendo Reports Library project. However, none of the reports show when using the same wizard within Visual Studio 2017.
This required me to keep the VS 2015 and VS 2017 applications and flip back to VS 2015 just for this purpose.
Ant way to make it work within VS 2017?
Hi,
I export telerik report to pdf file but data not show fully rows.
for export excel show normal.
This report use sub report and problem row on this sub report also
I would like to share an example of how to create Gantt chart using, both the Telerik Reporting.Chart and Telerik.Reporting.Graph controls. Hopefully, this example can help someone.
https://dl.dropboxusercontent.com/u/104610572/ReportTest.zip​