Telerik Forums
Reporting Forum
2 answers
222 views
In ReportViewer how do I change backcolor of textbox based on the value inside it? 
Neli
Telerik team
 answered on 14 Apr 2021
3 answers
491 views

How can I determine if the Parameters Area is visible on the HTML5 ReportViewer using javascript?

I know how to toggle it but I need to check if it is visible first before toggling.

Gabriel
Top achievements
Rank 2
 answered on 13 Apr 2021
7 answers
520 views

I'm using HTML5 report viewer and I can access the report remotely and view it, but none of "Print", "Export to excel or PDF" works.

Also I tried accessing the report locally and I have tested each of the mentioned non-working functions, all of them were OK.

I thinkthe problem related to permissions but I don't know where and how I should change permissions to allow remote users be able to export report like a local user.

Todor
Telerik team
 answered on 13 Apr 2021
1 answer
120 views

I have a problem with the placement of some text.

In my Word template there is a text in the footer (TextWord.png) and this text is on the first page next to the letter text. Unfortunately, I can't do that in the Report Designer. I have already tested with parent groups, but unfortunately it does not behave as I imagine it would.

Every Time my html field is growing the textboxes moves with the html box down.

 

Is what I want even possible?

If so, how is that possible?

Dimitar
Telerik team
 answered on 12 Apr 2021
5 answers
303 views

Hi,

how should I transform data from my DataSource to show spaces correctly in HtmlTextBox?

The HTML renderer ignores repeated spaces (as I expeceted), so I thought about replacing space character " " with the non-breaking space HTML entity " ".

It is actually feasible with HtmlTextBoxes with a constant content, but the space collapse is also applied on strings from DataSource, and this behavior is not acceptable, as those spaces are meaningful.

Is there a way to transform values from DataSource? I tried to wrap Fields references with the Replace() expression, trying to replace spaces with related HTML entity, but it does not work.

I paste a TRDX with embedded JSON data source down here:

<?xml version="1.0" encoding="utf-8"?>
<Report DataSourceName="jsonDataSource1" Width="17cm" Name="Try not to collapse spaces" SnapGridSize="0.1cm" xmlns="http://schemas.telerik.com/reporting/2021/1.0">
  <DataSources>
    <JsonDataSource Name="jsonDataSource1">
      <Source>
        <String>ew0KICAiZm9vIjogInRoZSBzcGFjZXMgIGluc2lkZSAgIHRoaXMgICAgc3RyaW5nICAgICBzaG91bGQgbm90IGJlIGNvbGxhcHNlZCINCn0=</String>
      </Source>
    </JsonDataSource>
  </DataSources>
  <Items>
    <DetailSection Height="7cm" Name="detailSection1">
      <Items>
        <HtmlTextBox Width="16cm" Height="1cm" Left="0.5cm" Top="1.7cm" Value="HTMLTextBox with Field: {Fields.foo}" Name="htmlTextBox1" />
        <HtmlTextBox Width="16cm" Height="1cm" Left="0.5cm" Top="6cm" Value="These&nbsp;spaces&nbsp;&nbsp;should&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;&nbsp;be dropped" Name="htmlTextBox2" />
        <HtmlTextBox Width="16cm" Height="1cm" Left="0.5cm" Top="3.4cm" Value="HTMLTextBox with Field: {Replace(Fields.foo, " ", " ")}" Name="htmlTextBox3" />
        <HtmlTextBox Width="16cm" Height="1cm" Left="0.5cm" Top="4.6cm" Value="HTMLTextBox with Field: {HtmlEncode(Fields.foo)}" Name="htmlTextBox4" />
        <TextBox Width="16cm" Height="0.9cm" Left="0.5cm" Top="0.3cm" Value="Standard TextBox with Field: {Fields.foo}" Name="textBox1" />
      </Items>
    </DetailSection>
  </Items>
  <PageSettings PaperKind="A4" Landscape="False">
    <Margins>
      <MarginsU Left="2cm" Right="2cm" Top="2cm" Bottom="2cm" />
    </Margins>
  </PageSettings>
  <StyleSheet>
    <StyleRule>
      <Style>
        <Padding Left="2pt" Right="2pt" />
      </Style>
      <Selectors>
        <TypeSelector Type="TextItemBase" />
        <TypeSelector Type="HtmlTextBox" />
      </Selectors>
    </StyleRule>
  </StyleSheet>
</Report>

 

What do you think I'm doing wrong?

Todor
Telerik team
 answered on 12 Apr 2021
5 answers
153 views

Hi all,

In our app to show report we use HTML5 Report Viewer and Web Report designer. Our project based on .Net5.

There is a problem with report web designer after updating to R1.2021version. I used web service datasource in a report and created @url inline parameter and $expand query parameter into that datasource to make OData query. But as you see from the attached file, value of those parameters shown Object (see Invoice.png attached picture) instead of showing real value. I see this issue after updating to R1 2021, but in previous version it was showing correctly. If you open the report via Standalone Report Designer it shows correctly (second attached picture). Is it problem in R1 2021 or should I change something?

Todor
Telerik team
 answered on 12 Apr 2021
14 answers
2.0K+ views
I'm trying to find documentation on creating a Report Book.  There seems to be very little.  Can assist me in creating a Report Book from scratch?
Examples, videos, etc would all be helpful.  
Todor
Telerik team
 answered on 12 Apr 2021
1 answer
758 views

I have a problem with the map control. I get an error (418) Blocked.

 

Dimitar
Telerik team
 answered on 08 Apr 2021
3 answers
581 views
The last thing I need to make this report usable is to be able to sort the contents of the detail section by line number (which is an integer). The Group Explorer has a column called Sorting, but it seems that the Detail section cannot be sorted. How do I sort that section according to the line number on the sales order. Right now, when I print, I get line numbers in a random order instead of 1, 2, 3, etc.
Todor
Telerik team
 answered on 08 Apr 2021
3 answers
816 views

I am using report viewer in a Blazor project.

 

The images in report do not show up in the report. However, they do appear when i try to print or export the report.

 

 

Please advise ?

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 07 Apr 2021
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?