Telerik Forums
Reporting Forum
1 answer
165 views

I found the following answer in Reporting Forum:

But I don't know how to check the data count within SubReport1_NeedDataSource

We are using a SQLdatasource.

Thanks...

Kelly

 

https://www.telerik.com/forums/how-to-hide-subreports-if-they-do-not-have-the-data-needed-to-be-display#s7pqNThtmkS75q1uwVoqrg

   Private Sub SubReport1_NeedDataSource(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubReport1.NeedDataSource  
        Dim subReport As Telerik.Reporting.Processing.SubReport  
        subReport = CType(sender, Telerik.Reporting.Processing.SubReport)  
 
        If (...no data expression...) Then 
            subReport.Visible = False 
        End If 
    End Sub 

 

Katia
Telerik team
 answered on 02 Feb 2018
0 answers
103 views
I am new to telerik. I am trying to create a report using standalone report design, where I want to get the names of the employees with there departments. I am using report parameters to filter out the results and it is working fine at the moment. The problem is that I want the report to display all the employees when no value is provided in the parameter box. But it is giving me no data at all when I do not pass anything in the text box but when I pass any name that matches with the name of the employee it gives me correct information. 
Can anybody help. Thank you.
Muhammad
Top achievements
Rank 1
 asked on 02 Feb 2018
1 answer
1.2K+ views

Hello!

 

Is there any way to check which version of the file? I have a manager that was developed in C #, and I want to check the file version before uploading.

Silviya
Telerik team
 answered on 02 Feb 2018
7 answers
836 views

I want to split a particular string with a slash (/) operator and use the output in the textbox. The first part needs to be formatted in bold and the other in italic. The string I want to split is "International Delivery Note / Note de livraison internationale" .

 

How should I do this in the telerik report designer for visual studio ?

Nick
Top achievements
Rank 1
 answered on 01 Feb 2018
5 answers
723 views

Hi guys, I am interested in using the Telerik Report Web Services for my company; however, before I can make a final decision on this, I will need to clarify on a few implementation areas to see if this fits into our company's projects. Here is the story ....

I have successfully created a Telerik report web service based on the instruction on your website but.....I wonder

  • if it is possible to call Telerik Report web services from other web services and manipulate "data object source" as well as "report parameters" on the runtime. For example, I have a service call Reports (ASP.NET Core project targets .Net 4.7.1) which handles all of the report generation requests from the UI, this service processes and handles all the report-generation requests (based on the business logic) then generate a business Object contains information for generating PDF, XLSX files. I would like to send this business object to the Telerik Report web service together with Report Parameters so a report (PDF, HTML, XLSX) can be generated.
  • Same as above but between 2 different controllers, ReportController (for handling business logic and generate required data) and TelerikReportsController (for generating report File).
  • In both scenario, is it stills possible for me to use Telerik Report Viewer on the client side

Examples, diagrams, map, source code to the above problems would be appreciated as I may need them to convince my bosses

Trung
Top achievements
Rank 1
 answered on 31 Jan 2018
2 answers
205 views

Any suggestions on how to figure out why a report will never finish processing when deployed to a web farm, but works great on my local machine?

When the c# web app with the Telerik REST service setup with it runs on the web server there are no errors displayed. In Fiddler the ReportViewer keeps waiting for the report to finish processing and just returns the 202 Accepted response nonstop. On my localhost it will return 200 OK and render the report catalog properly.

GET  /api/reports/clients/{clientId}/instances/{instanceId}/documents/{documentId}/info

http://docs.telerik.com/reporting/telerik-reporting-rest-documents-api-get-document-info

http://docs.telerik.com/reporting/t-telerik-reporting-cache-mssqlserverstorage

 

Lucas Boshoff-James
Top achievements
Rank 1
 answered on 29 Jan 2018
1 answer
121 views

Here is our scenario:

 - We have a report .trdp that the HTML5 viewer requests

 - The report data source is an ObjectDatasource with a single method GetData(ParamType1 Param1, ParamType2 Param2, etc.)

 - When we view a report in the HTML5 viewer, our GetData method gets hit many times.  The data should only need to be retrieved once.

 - We think part of the problem is that we have Report Parameters where the AvailableValues are set the the ReportResults ObjectDataSource.

 - After hours of investigation we have not found how to fetch the data once, and use that data to populate the report DataItems and Parameter Filter Values.

 

Consider this data set: 

{ createdBy: "McKay", result: "Satisfactory", team: "Pacific" },

{ createdBy: "Johnny", result: "Satisfactory", team: "Arctic"},

{ createdBy: "McKay", result: "Unsatisfactory", team: "Antarctic"}

 

Our rendered report shows all of the above data items,

And the filter section next to the rendered report shows all permutations of the parameters based on our data source: 

 

CreatedBy:

    McKay

    Johnny

Result:

    Satisfactory

    Unsatisfactory

Team:

    Pacific

    Arctic

    Antarctic

 

Is there a way we can achieve this same result without hitting the database more than once?

Todor
Telerik team
 answered on 29 Jan 2018
2 answers
552 views

Hello,

Is there any way by which we can apply validations on report parameter.

Like Start date should be less than End Date.

Length of a string type parameter should not be greater than 8.

 

Thanks

Vasudha

 

 

 

Kulasegaran
Top achievements
Rank 1
 answered on 29 Jan 2018
3 answers
238 views
Our services are authenticated via an auth cookie that must be sent on every request. How can I attach the cookie to the http requests coming from the WPF report viewer?
Todor
Telerik team
 answered on 26 Jan 2018
1 answer
182 views

I want to know if there is a way to format all decimals without making changes in reports and selecting every other textboxes?

Thanks in advence!

Silviya
Telerik team
 answered on 26 Jan 2018
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?