Telerik Forums
Reporting Forum
0 answers
267 views
I have a report containing basic column clustered chart. it works fine on report designer and preview, my problem is when i export it to excel using asp.net mvc telerik reporting report processor, the charts becomes smaller.

Archieval
Top achievements
Rank 1
Veteran
 updated question on 11 Feb 2022
0 answers
635 views

Hello,

I am trying to use the HTML5 WebForms Report Viewer in an ASP.NET WebForms (.NET Framework 4.6.1) application.  I am using Telerik Reporting version 16.0.22.119.

I need to update the report source and parameters from the code behind, and I have not been able to get this to work. 

My report displays correctly when the page first loads.  Then, I select a choice from a drop-down list on the page.  I attempt to change the parameter and datasource in an event in the code behind.  When the screen refreshes, the report viewer is no longer there.

My report viewer is inside of an UpdatePanel on the page, like this:

			<asp:UpdatePanel ID="UP1" UpdateMode="Always" runat="server">
				<ContentTemplate>

					<%--practice group list and practice ddl--%>
					<div style="width: auto;">
						<uc:wucPracticeListAndPractice ID="PracticeAndListBar" runat="server"
						ControlStyle="Bar" AdjustWidths="True" SelectionsAreSticky="True"
						AllowAllPractices="false" />
					</div>

					<div style="border: 2px solid red;">

						<telerik:ReportViewer
							ID="reportViewer"
							Width="1300px"
							Height="900px"
							
							runat="server" ServiceUrl="https://localhost:44364/api/reports" >
							<ReportSource Identifier="Samples/TestReport.trdp" IdentifierType="UriReportSource">
								<Parameters>
									<telerik:Parameter Name="AccountOid" Value="00000000-0000-0000-0000-000000000000" />
								</Parameters>
							</ReportSource>
							
							<%-- If set to true shows the Send Mail Message toolbar button --%>
							<SendEmail Enabled = "false" />
						</telerik:ReportViewer>

						<telerik:DeferredScripts runat="server"></telerik:DeferredScripts>

					</div>

				</ContentTemplate>
			</asp:UpdatePanel>

In my event in the code behind:

            ReportSource reportSource = new ReportSource()
            {
                Identifier = "Samples/TestReport.trdp",
                IdentifierType = IdentifierType.UriReportSource
            };
            reportSource.Parameters.Add("AccountOid", Guid.Empty.ToString());

            this.reportViewer.ReportSource = reportSource;

Any suggestions on what I might be doing wrong?

Thank you.

1 answer
230 views

Hello,

We have an odata api that limits the maximum number of records that can be returned to the client to 1000 records. The service allows for query parameters $top and $skip that allow us to page through the data, which works great in kendo grids, etc. For reporting though, I'm wondering if there's any way using the web service data source to somehow auto-page through data until it gets through all of the pages of data, that way we get all of the data from the api server without worrying about only being able to retrieve the fist page of 1000 records only? Is this a thing?

Thank you in advance!

Brandon

Todor
Telerik team
 answered on 10 Feb 2022
1 answer
223 views

We have a report with a multivalue parameter whose record source may include ~32k rows of data.  Thanks to virtualization, the user is able to scroll through the entire list selecting as many options as they wish.  Unfortunately, if the user selects the "<select all>" option, the application becomes immediately unresponsive, and the only way to continue is to restart the application by performing an end task in the windows task manager.

 

Questions:

  1. Is there any way to prevent this hard lockup in the current scenario?
  2. Is there some way to remove the "<select all>" option, either by default or when the data in the combobox exceeds a threshold?
Todor
Telerik team
 answered on 10 Feb 2022
1 answer
320 views

I have embedded web designer using this link. It's working fine but I want to hide some data sources from the list. Currently it's showing 5 data sources i.e SqlDataSource, CsvDataSource, WebServiceDataSource, JsonDataSource and ObjectDataSource.

I want to keep only CsvDataSource and hide all others. How can I do that programmatically?

Sia
Telerik team
 answered on 10 Feb 2022
1 answer
180 views

Hi,

We have old version of Telerik reporting . and old version of Kendo UI library(on our client side)

we use with Rest API in server side and with HTML5 Telerik report viewer in client side. 

Now we want to upgrade our Telerik reporting version.

The behaviour of the new HTML5 report viewer depends on a new version of the Kendo ui.

We have a big project and we do not want to upgrade Kendo Ui library.

Is it possible to upgrade only the server side of the reports?
Without upgrading Reporter Viewer?

 

Thanks,

Chani

 

Todor
Telerik team
 answered on 09 Feb 2022
1 answer
1.3K+ views

Hello,

I'm using the Reporting Tool with an Angular Frontend and have a question how the authentication works.
The report is created with the standalone ReportDesigner and contains one SubReport.

In the frontend the authentication token is assigned:
<tr-viewer 
...
    [authenticationToken]="authenticationToken"
</tr-viewer>

In the Designer a 2-step authentication is configured - only for design purpose.

The desired behaviour is that the authenticationToken assigned in the frontend is used when accessing the backend controller. But the observed behaviour is that the report requests multiple times (3) new tokens by calling the login URL assigned to the 2-step authentication config. 

How can I configure the Report so that no new tokens are requested and the one assigned on the frontend is used (via Bearer xxxx). Nevertheless the Controller Entry-Point for data retrieval for the report dataSource must be protected. And what is the report auth behaviour by design?

Todor
Telerik team
 answered on 04 Feb 2022
0 answers
180 views

I have a ridiculously simple graph I want to build.  The data source works fine, and returns 2 columns:  a "bin" (number from 0 to N) and a "count".  So the data looks like this:

BagActivityAfterXDays,  Count

0, 35

1, 20

2, 5

3, 0

 

I used the wizard to build the chart like this:

 

But this is all I get, in designer or preview, with no context as to what on earth is going on:

 

Please help - I'm stuck in the mud and can't figure out what is wrong, or how to fix it.

Johann
Top achievements
Rank 1
 updated question on 03 Feb 2022
2 answers
151 views

I need to display large amounts of text in side by side columns that flow from the bottom of one to the top of the next one, and continue onto a following page.  Is it possible?  I'm including a diagram to explain what I mean.

 

  
Timothy
Top achievements
Rank 1
Iron
 answered on 03 Feb 2022
1 answer
351 views

I have a PDF report to create..  Its usually 2 pages long and contains the information for a single record.  It is generated by manual selection one record at a time.  It already includes a sub-report with multiple child entities related to the parent record.

The thing is the parent record contains 134 fields.  I've got these split into multiple related panels currently

For maintainability, is it easier to split the panels into sub-reports?  Is there any performance issue with that? Although only 1 report is selected at a time.

I find that when I have to make a change the desktop report designer isn't very user friendly when panels need to be moved down to expand a prior panel. 

Or am I just not familiar with the designer enough to more things around efficiently?

Todor
Telerik team
 answered on 02 Feb 2022
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?