How can WPF ReportViewer display Multiple UriReportSources as one Report?
I want to diplay multiple UriReportSources (same trdp UriReportSource and same ParameterName, but varios ParameterValues) in WPF ReportViewer as one Report, wich contains this multiple UriReportSources successively.
Here is my C# Code:
ReportBook RB = new ReportBook();
UriReportSource uriRS = new UriReportSource();
uriRS.Uri = "MyYearTest.trdp";
uriRS.Parameters.Add(new Telerik.Reporting.Parameter("Year", 2018));
RB.ReportSources.Add(uriRS)
UriReportSource uriRS = new UriReportSource();
uriRS.Uri = "MyYearTest.trdp";
uriRS.Parameters.Add(new Telerik.Reporting.Parameter("Year", 2019));
RB.ReportSources.Add(uriRS)
UriReportSource uriRS = new UriReportSource();
uriRS.Uri = "MyYearTest.trdp";
uriRS.Parameters.Add(new Telerik.Reporting.Parameter("Year", 2020));
RB.ReportSources.Add(uriRS)
InstanceReportSource IRS = new InstanceReportSource();
IRS.ReportDocument = RB;
this.TRPViewer.ReportSource = IRS;
Both Objects (RB and IRS) contains 3 ReportSources.
But the WPF ReportViewer (this.TRPViewer) shows 3 times the same page, in fact 3 times the first Report of the Year 2018!
How can i display all 3 Years Reports (2018,2019,2020) as one Report in WPF ReportViewer?
I am new to telerik report. I want to group data by name and address should show down to grouped property. Please find attached file that i generated from report. Please help how to get desired result that i attached.
Is there any way of getting and editing web service datasource from report file(*.trdx, *.trdp) programmatically without using standalone Report Designer tool?
I know Report has DataSources property, but it's private. My scenario is: I generate OData query at runtime and I have to set that OData query string to the report WebServiceDataSource.ServiceUrl property value, or I have to change existed OData query and save that to data source.
In this post suggested getting data sources through the data items(Table, List, Report parameters,...). But, for example I created data source and it's not assigned to any items yet. In this case how can I access to that data source? I still want to modify that data source which is not assigned.
Thanks,
Hello everyone,
I have a
question about the possibilities in the detail section:
we have
multiple transports where each transport can have multiple kinds of goods and
we would like to use the detail section to show both of them.
It should
look like this (simplified) e.g.:
Truck A
2 Pal. Lights
1 Pal. Bananas
20 Pal. Apples
Truck B
4 Pal. Cups
2 Pal. Gloves
…..
The problem
is that in SQL we have no other possibility to join the tables so that the
result looks like see att..
This will
transform in multiple lines:
Truck A
2 Pal. Lights
Truck A
1 Pal. Bananas
Truck A
20 Pal. Apples
Truck B
4 Pal. Cups
Truck B
2 Pal. Gloves
I also
tried to use a table or a list Item but both would show all results for each
entry.
Truck A
2 Pal. Lights
1 Pal. Bananas
20 Pal. Apples
4 Pal. Cups
2 Pal. Gloves
Truck B
2 Pal. Lights
1 Pal. Bananas
20 Pal. Apples
4 Pal. Cups
2 Pal. Gloves
Is there
any possibility with another item, format, filter,group ..anything to get one row
for each truck and with the goods for this one?
Hi.
My report contains a table that is expected to not fit on a single page so it has KeepTogether set to false. It also has ColumnHeadersPrintOnEveryPage set to true.
In print preview or when rendered as DOCX or PDF the table splits correctly, i.e. a blank row is drawn at the end of the first page indicating that the table continues on the next page.
When rendered into PPTX however (which is the target format for me) the blank row gets drawn at the start of the next page instead. It would not be that much issue without table headers repeating on every page. With them it looks quite confusing.
Hello everyone,
is there any possibility to automatically sort the parameters in the report explorer? I know you can sort manually if you use the 'edit parameter' function but i would need an automatic way.
Regards
Hello.
I have a normal report and when I click to see the next page this error occurs :
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
at Telerik.ReportViewer.WebForms.StreamManager.GetHtmlPage(Int32 pageIndex)
at Telerik.ReportViewer.WebForms.ReportPageOperation.WriteHtmlPage(StreamManager streamManager, Int32 pageIndex)
at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: .... Telerik.ReportViewer.axd?instanceID=0cdcda6604764ba2a837581cedb1ae5f&optype=Report&PageIndex=1&RenderID=312cd5f978ca4b8baf48ad45439e270e&RenderingFormat=HTML5
Request path: /Telerik.ReportViewer.axd
Any idea?
Dear all,
I have a report viewer which output report properly when viewed in computer. However, when I export to word document. Some text box is not fully extened, I need to pull the textbox border in order to show the content. And textbox is not aligned with other textbox like what is in computer view. The alignment problem also exist when I export to PDF. How can I fix it? Thanks.
Report was running fine since last 2 months but now having below issue : Error Creating Report instance. When same reports deployed on another server (IIS) its working fine.
I want to run that report on previous server but didn't succeed. getting response internal 500 error.
This issue is on clicking preview button on report.