Telerik Forums
Reporting Forum
1 answer
91 views
URL: https://demos.telerik.com/kendo-ui/numerictextbox/index
In the Chrome browser, after clicking (mousedown) on the field, I can immediately select a number.
But in Firefox I have to click a second time to be able to select number.

Is there a known solution for this problem?
Viktor Tachev
Telerik team
 answered on 12 May 2020
15 answers
3.1K+ views

I have been trying for almost a whole week to get a Telerik report to run.  I'm pretty sure, at this point figuring out nuclear fusion would be easier.  No matter what I do I get the following error:

Cannot access the Reporting REST service. (serviceUrl = '/OmniCareApp/api/reports/'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)

 

I have CORS enabled in my web.config

<httpProtocol>
  <customHeaders>
    <add name="Access-Control-Allow-Origin" value="*" />
  </customHeaders>
</httpProtocol>     

 

I can get this to run in a separate web project, but not when I try and integrate it into my legacy system.  I thought maybe it was because it was a web site and not a web project.  So, I created a web project and got the report to run.  Then I brought over all the legacy piece parts, and back to the above error.  Worst case scenario I can create a separate web site just for the purposes of serving up this one report, but then that's just one more thing I have to maintain.  Not the path I'd like to take.

This should have been as easy as placing the Telerik Report Viewer on a form, telling it where the report was and boom...done!  You guys have complicated the ever loving crap out of this process.  I'm frustrated, and disappointed in this process at the same time.  

At my wits end.  I like your reports.  The designer interface is easy to work with, but I never had these kind of problems with Crystal Reports.  

Where do I go next?  For the love of god don't refer me to the multitude of white papers I've already been thru with a fine tooth comb.  I've also found fiddler to be as useless as hair on nipples.

Doug
Top achievements
Rank 1
 answered on 09 May 2020
0 answers
110 views

Hello,

I have an asp.net webproject including telerik reporting.

In a report there are several report parameters, two with datetime and one with string and multivalue.

In the report parameter with string and multivalue should be load the lastnames of the driver (car driver)

The company has 36 drivers and two of them have the same last name, here "Rick", namely Dennis and Micha Rick.

All driver are shown in the dropdown, except "Dennis Rick".

I don't know why.

Here is the class with its method for the datasource for this report parameter:

namespace ReportLibrary1
{
   public  class MyEmployees
    {
        //Report Parameter Driver LastName
        public object[] GetEmployees()
 
        {
            ResourcesDomainService rdservice = new ResourcesDomainService();
            object[] employees = new object[rdservice.Employees.Count];
 
            employees = rdservice.Employees.Where(x => x.DriverId.Length > 0).OrderBy(x => x.LastName).ToArray();
 
            return employees;
        }
    }
}

 

When I make a breakpoint in the row and go with my mouse pointer over empoyees I can see that all drivers are returned including Dennis Rick.

But in the report "Dennis Rick" is missing in the drodown list.

Have somebody an idea why it is so?

 

Regards

Simon

 

 

 

 

 

 

 

Simon
Top achievements
Rank 1
 asked on 08 May 2020
4 answers
1.2K+ views

How to get first string from splited string?

for example str="xxx-yyy-zzz"

output is "xxx"

Thank you!

Todor
Telerik team
 answered on 08 May 2020
1 answer
126 views

I am running up against an issue where I am unable to debug an MVC App in which I am attempting to render a couple of reports in a controller method. The code in the attached screenshot runs perfectly fine if I build and publish my Web app, but I consistently receive the "Invalid value of report parameter 'ClientId'." error when I attempt to debug the app through Visual Studio.

I am on Telerik.Reporting version 12.0.18.416.

Please advise.

 

Todor
Telerik team
 answered on 07 May 2020
2 answers
271 views

In a cshtml file, I have the following piece of code:

 

                                Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
                                uriReportSource.Uri = "QuotationDetails.trdx";
                                uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("CultureID", "fr"));
                                uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("QuotationIDENT", "{{:CurrentQuotation.IDENT}}"));
                                uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("UNUSED", 15));
                                uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("ReportsConnectionString", "{{:ReportsConnectionString}}"));

 

In th concerned trdx file, the SqlDataSource is currently set via:

  <DataSources>
    <SqlDataSource ConnectionString="REPORTS" SelectCommand="..." Name="REPORTS" ParameterValues="...">
      <Parameters>
        ...
        </SqlDataSourceParameter>
      </Parameters>
    </SqlDataSource>
  </DataSources>

 

I would like to set the SqlDataSource  ConnectionStringvalue to ReportsConnectionString, but I can't make it work.

 

Any idea ?

 

Best Regards,

 

Jean-Pierre Gervasoni

Neli
Telerik team
 answered on 07 May 2020
1 answer
371 views

I am trying to display a report from Telerik Report Server in my Asp.Net MVC application via the HTML5 ReportViewer.

I am using Stand-alone Report designer and creating parameters which are set to visible. The Parameter area is visible when i view on the Report Server. But when i view the report via HTML5 ReportViewer the parameter area is hidden. I have tried to alter CSS styling but no luck. It looks like the parameters do not exist in the ReportViewer page. 

Below is my jquery calling the ReportViewer

    <div id="reportViewer1" class="k-widget" style="height:100em;">
        loading...
    </div>

    <script type="text/javascript">
        $(document).ready(function () {
            debugger;
            var URL = '@System.Configuration.ConfigurationManager.AppSettings["ReportServerUrl"]';
            var param = @Html.Raw(Model.ReportParameters);
            var rptStr = '@Model.ReportCategory' + '/' + '@Model.ReportName';
            $("#reportViewer1").telerik_ReportViewer({
                reportServer: {
                    url: URL,
                    username: null,
                    password: null
                },
                reportSource: {
                    // The report value should contain the Category and ReportName in the following format
                    // {Category/ReportName}
                    report:rptStr,
                    parameters:param
                },
                parametersAreaVisible: true,
                printMode: telerikReportViewer.PrintModes.FORCE_PDF_FILE,
                     
               
            });
        })

          </script>

Also attached are the my designer view, HTML5 ReportViewer result and ReportServer View. Any pointers towards this would be helpful.

Ujwal
Top achievements
Rank 1
 answered on 04 May 2020
1 answer
148 views

Hello,

 

Due company security policies, all the assemblies that we ship (proprietary or third parties) must be digitally signed, I've reviewed all the assemblies deployed by the Telerik installer an cannot find: Telerik.Reporting.dll and Telerik.ReportViewer.WinForms.dll digitally signed

Where can I get these binaries, digitally signed?

 

Regards,

Micky.

Todor
Telerik team
 answered on 04 May 2020
24 answers
633 views
Hello,

I have upgraded to latest version of Telerik Reporting and the upgrade looks fine but it doesn't show textbox values that are created dynamically using DataBinding. Please can any one help what the issue was?

Thanks.
Katia
Telerik team
 answered on 04 May 2020
7 answers
259 views
I am trying to add the report viewer component in my wpf project but my application already using themes from Telerik and when I try to add report viewer by adding Xaml files in a folder and providing references of it. It shows exception. I some how need to give styling to the report viewer component with the existing theme. Any Suggestion how to do it?
Katia
Telerik team
 answered on 04 May 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?