Telerik Forums
Reporting Forum
2 answers
88 views

Hello,

I am currently trying out Telerik reporting and using.net standard for report's source, I followed the suggested ntier design of this thread https://www.telerik.com/forums/net-core-class-library-as-an-objectdatasource, passing dummy collection is easy however implementing ADO for .NET Standard returns assembly issues, do you have examples of .net standard project that uses ADO.NET?

Dom
Top achievements
Rank 1
 answered on 02 Apr 2020
0 answers
73 views

If you try to create a task through the scheduling function of the report server, an error such as the attached image occurs.
Agent is running, and looking at the log taken by Agent, it appears as below.
Please tell me which part to check.

------------------------------------------------

Environment.UserInteractive: False
Telerik.ReportServer.ServiceAgent.exe Information: 0 : The WCF service has been started successfully at http://beyondtest:81/ReportServer/ServiceAgent
    DateTime=2020-04-02T09:08:04.3426314Z
Telerik.ReportServer.ServiceAgent.exe Error: 0 : Unable to start internal services yet:
System.InvalidOperationException: Storage is not configured.
   위치: Telerik.ReportServer.ServiceAgent.ServiceAgent.CreateReportServer()
   위치: Telerik.ReportServer.ServiceAgent.ServiceAgent.RestartReportServerDependencies()
    DateTime=2020-04-02T09:08:04.5186414Z
Telerik.ReportServer.ServiceAgent.exe Information: 0 : ReportServer ServiceAgent has started.
    DateTime=2020-04-02T09:08:04.5186414Z

NEXTLAB
Top achievements
Rank 1
 asked on 02 Apr 2020
4 answers
774 views
I want to limit table items display in per page, such as 4, I used RowNumber(), but it had no effect.
Anders
Top achievements
Rank 1
 answered on 02 Apr 2020
1 answer
498 views

Hi,

I have a parameter that controls the visibility of page footer called "Show only page footer on the last page".

I also have a group footer on top of the page footer containing a HtmlTextBox with some custom footer texts, since the page footer can't grow during render it is placed in the group with PrintAtBottom set to true.

The group footer should also be hidden when page footer i hidden. It seems to work when i set the group footer to PrintOnEveryPage = false and when i set the GroupFooter.Visible = PageFooter.Visible inside of PageFooter_DataBound.

But,

This fails when i want to render multiple reports like 2 invoices and when the report engine renders a Empty page. Then i figured that is should control the visibilty of the "footers" by checking PageNumber = PageCount aswell but it looses the PageNumber and PageCount on this empty page. So i cant tell if it is the last page or not.

 

How to encounter this issue?

Katia
Telerik team
 answered on 01 Apr 2020
1 answer
91 views

Good evening,

I'm trying to create a report with .net in MVC but the data comes from a soap WSDL, so I pass the query result to an Object Data Source in the controller and assign it to the report Viewer in the view but not displays the report.

 

  <div class="container">

            // Creating a new report

            Telerik.Reporting.TypeReportSource reportsource = new Telerik.Reporting.TypeReportSource() { TypeName = "ReportLibrary.OdioEsteProyecto, ReportLibrary" }; //
            Telerik.Reporting.ObjectDataSource datasSource = Model.ods; //this ods is a  ObjectDataSource variable who came from the model 

            if (datasSource != null)
            {
                <telerik:ReportViewer ID="MyReportViewer"
                                      ReportSource=reportsource
                                      ObjectDataSource=datasSource
                                      runat="server"
                                      High ="100%"
                                      Width="100%"
                                      DocumentMapVisible="False"
                                      ParametersAreaVisible="False"
                                      ShowDocumentMapButton="False"
                                      ShowHistoryButtons="False"
                                      ShowNavigationGroup="True"
                                      ShowParametersButton="False"
                                      ShowPrintPreviewButton="False"
                                      ShowRefreshButton="False"
                                      Skin="WebBlue"
                                      Visible="True">

                </telerik:ReportViewer>
          }

    </div>

 

HELP

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 31 Mar 2020
4 answers
1.6K+ views
Hi Team,
I am using Trial version of Telerik Reporting (v8.2). In that I am getting following issues,

1. I am binding the table data by using NeedDataSource Event. It's binding the data well, but the table is keep on repeating many times, even I am having Table in Report header page and made data source property of Report as NONE.

2. I have imported External XSLT into my report and assigned Style name to particular Header. Style is getting updated in Design time, but while running the application in browser it is not running.

Kindly clarify the details ASAP.

Regards,
Ram

Ephraïm
Top achievements
Rank 1
Iron
 answered on 31 Mar 2020
3 answers
155 views

Hello.

I have a problem when adding details section in crosstab column group.

I once added it somewhen in crosstab row group but now when I'm trying to do this, 'Show detail data' is grayed out.

What I want to achieve is changing grouping from

Issue 1 

a

b

Issue 2

c

d

etc.

to

Issue 1 a b

Issue 2 c d

in a crosstab.

Anyone know how to do this? :) I'm attaching screen from group explorer window.

Thanks a lot in advance.

Katia
Telerik team
 answered on 31 Mar 2020
5 answers
501 views

Hi,

When generating a PDF report using the ReportProcessor from a trdx report,
is it possible to catch errors such as if a used field in the template is
not present in the dataset?

I'm using the ErrorEventHandler like this, but it is not triggered if a used field is not present in dataset.
It just renders the report anyway and leaves the label empty.

...
reportObject.Error += (innerSender, eventArgs) =>
{
    _logger.Error(eventArgs.Exception, "Error processing report PDF", reportId, parameters);
};


If you don't support it today, it would be great if I could decide, whether or not the processor should trigger the error handler in cases like this.

Cheers,
Casper

Ivan Hristov
Telerik team
 answered on 27 Mar 2020
1 answer
9.0K+ views

I'm currently reviewing Telerik Reporting (version Q2 2011, 5.1.11.713) and I run into an issue with a textbox with a fixed width, but allowed to grow vertically. The calculation of the number of lines (required to wrap the given text in) fails. The text (Value) below is actually wrapped in a single-line textbox, but actually doesn't fit on one line and gets wrapped! This is obviously not what we want (see attachment).

Properties set:

CanGrow = True
CanShrink = False
KeepTogether = True
Size = 8,91cm; 0,5cm
Value = "Courtage conform bemiddelinsovereenkomst d.d. 1-10-2011"
Style.Font = Verdana, 8pt, Regular
Style.VerticalAlign = Middle

Any help would be greatly appreciated!

Best regards,
Raymond

Deepak
Top achievements
Rank 1
 answered on 27 Mar 2020
2 answers
611 views

I've implemented the Telerik Reporting engine in a remote ASP.NET Core Web API by following this article. The implementation works as expected - I'm able to retrieve my report template, bind it to data & have a WinForms ReportViewer control render it on the client-side application.

I now wish to implement the ability to automatically print the reports without having to display a UI to users. Ideally we want them to click a button in the application (not from a ReportViewer toolbar) & have the report sent immediately to the printer. We will have the necessary settings available programmatically to configure the printer.

I'm aware of the ReportProcessor.PrintReport() method, which will allow me to do this. What I'm having trouble with is how to configure a ReportSource object that will be passed as the first parameter to PrintReport() that will allow it to request the report from my remote report endpoint. When displaying these reports in the ReportViewer control, a connection string is configured for the remote report server, but I can find no similar concept of any of the ReportSource objects. The closest I could get was by using UriReportSource, but I'm unsure what to set the Uri property to.

Any assistance would be greatly appreciated.

 

 

 

Hein
Top achievements
Rank 1
 answered on 26 Mar 2020
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?