Telerik Forums
Reporting Forum
1 answer
352 views

DEAR *.*

How to Pass value on a report using querystring.

I created a webform1.aspx with textbox control and a button control, and my second form is webform2.aspx with a reportviewer control,

 

my questions :
How to pass the value on my textbox control in the webform1.aspx when i clicked the button to webform2.aspx using QueryString?

i'm using vb code..

 

please help

Nasko
Telerik team
 answered on 08 Dec 2015
1 answer
363 views

I have partial view:

@section head
{
    <script src="~/ReportViewer/js/telerikReportViewer-8.1.14.804.js"></script>
    <script src="~/ReportViewer/js/resources.hr-HR.js"></script>
    <link href="~/ReportViewer/styles/telerikReportViewer-8.1.14.804.css" rel="stylesheet" />
    <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css"
          rel="stylesheet">
    <style>
        #reportViewer1 {
            position: absolute;
            left: 15px;
            right: 15px;
            top: 65px;
            bottom: 50px;
            overflow: hidden;
        }
    </style>
}
 
@{
    var typeReportSource = new TypeReportSource() { TypeName = string.Format("ATICRaspored.Reports.{0}, ATICRaspored", ViewBag.ReportName) };
    typeReportSource.Parameters.Add("PredavacId", new Guid(((ClaimsIdentity)User.Identity).FindFirst("PredavacId").Value));
    typeReportSource.Parameters.Add("AkGodId", ViewBag.AkGodId);
    typeReportSource.Parameters.Add("AkGodNaziv", ViewBag.AkGodNaziv);
}
 
@(
 Html.TelerikReporting().ReportViewer()
  .Id("reportViewer1")
  .ServiceUrl("/api/reports/")
  .TemplateUrl(Url.Content("~/ReportViewer/templates/telerikReportViewerTemplate-8.1.14.804.html"))
  .ReportSource(typeReportSource)
  .ViewMode(ViewModes.PRINT_PREVIEW)
  .ScaleMode(ScaleModes.SPECIFIC)
  .Scale(1)
  .PrintMode(PrintMode.AutoSelect)
)

On button click I need to show my partial view inside kendo window. My code is:

@(Html.Kendo().Window().Name("ReportViewer")
    .Title("IzvjeÅ¡taj!")
    .Visible(false)
    .Modal(true)
    .Draggable(true)
    .Resizable(x => x.Enabled(true))
    .Width(800)
    .Height(800))
 
<script>
    $("#btnReportKolegij").click(function () {
        var site = site || {};
        site.baseUrl = site.baseUrl || "";
 
        var wnd = $("#ReportViewer").data("kendoWindow");
        wnd.refresh(site.baseUrl + "/Home/_ReportContainer/" + '@Model.Id' + "/" + '@Model.GodineMerge.Replace('/', '-')' + "/EvidencijaOdrzaneNastaveKolegij").center().open();
    });
</script>

 

On click my window is opened but it's only showing "Loading..." as you can see on the attached image. Without kendo window and with simple view everything is working.

What am I missing?

Thanks

Nasko
Telerik team
 answered on 08 Dec 2015
1 answer
296 views

Hello Telerik team,

    I want to know is there a possible way to render List box instead of drop down for my report parameters. I am getting by default is a drop down list.

Also please tell me if i can have my report parameters as vertically on right side instead on the header horizontally.

 If it is not possible in Report designer (Standalone) then tell me what are my options to achieve it.

 Thank You

Nasko
Telerik team
 answered on 07 Dec 2015
1 answer
377 views

Hello all,

 i have a huge database in Oracle. I cant load it fully in the Standalone Designer. To set up filtering and so on, i try to limit the rows i receive from the DB.

Normally in Oracle, i use ROWNUM to limit the results:

SELECT * FROM HUGEDB WHERE ROWNUM < 100

 When i use exact the same query in ReportDesigner, i get: ORA-00904 - "ROWNUM" invalid identifier.

It seems, that the ReportDesigner add some quotation marks around ROWNUM. How can i turn that off?

Or is there another way to limit the number of returned rows?

 

Thanks,

Tobias

Tobias
Top achievements
Rank 1
 answered on 04 Dec 2015
1 answer
123 views
I am using the default ASP.NET WebApi ReportsControllerConfiguration.RegisterRoutes to the GlobalConfiguration.Configuration, and when I attempt to unregister my client with the clientId I receive a '405 Method Not Allowed'. Since I am using the default setup I was wondering if there are any known issues, or if I need to override everything and create my own endpoints to bypass this error?
Stef
Telerik team
 answered on 04 Dec 2015
5 answers
208 views
Hello Telerik-Team, Hello everone else ;)

I've got a Intel i5-2500 CPU in my development system. This CPU has 4 cores.

When the report viewer is rendering a report, it's only using max. 25% of the CPU capacity. So it seems that Telerik Reporting is running as a single thread which can only use one of my 4 CPU cores / 25% of the CPU capacity (delegated to every core doing a small amount of the 25%). See the attached jpg for a Task Manager screenshot.

Is there any way to let Telerik Reporting use the full power of the CPU? This would mean cutting down the rendering time to a quarter of the current.

Kind Regards,
Michael
Projects Computerra
Top achievements
Rank 1
 answered on 04 Dec 2015
2 answers
142 views

Hi,

we're having an issue when we export our reports to Powerpoint: the proofing language of the document is correct but when we click into a text field the proofing language switches from German(Germany) to English(USA). This issue doesn't occur with Word.

The reports are set to Localizable True and the Culture de-DE.

Thanks in advance.

Stef
Telerik team
 answered on 03 Dec 2015
2 answers
124 views

Hi,

 Using the designer (9.2..15.930) to edit the TRDX on different machines causes tiny changes to the measurements as shown in the attached diff screenshot.  This is a problem for source control as it introduces differences in the history which are not really relevant.  Can anything be done about this?

 

 

Scott Waye
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 02 Dec 2015
2 answers
509 views

Hi.

How can I style the square in and the marker in a checkbox? I need to border in the square to be 1px solid black (without the blue shading), and the marker to be black and not blue, as in the picture in the attached file.

The report is exported to pdf (where the picture is captured)

Stef
Telerik team
 answered on 02 Dec 2015
1 answer
539 views

Hello Telerik,

I've been trying to set up a ReportsController, a WebApi and a view that all talks together. My view is in another project than my ReportsController and WebApi, since they are going to be deployed two different places.
I have followed your guides

 - http://www.telerik.com/help/reporting/html5-report-viewer-embedding.html
 - http://www.telerik.com/help/reporting/telerik-reporting-rest-host-http-service-using-web-hosting.html
 - http://www.telerik.com/help/reporting/telerik-reporting-rest-implementing-http-service.html

 Where I have made sure it worked (by first having the view in same project as the ReportsController and WebApi)

Now that I've split it up in two projects, I get the following warning

"Message": "No HTTP resource was found that matches the request URI 'http://localhost:49375/api/reports/clients'.",
"MessageDetail": "No type was found that matches the controller named 'reports'."

In the Global.asax.cs file, the following lines have been added (just under the AreaRegistration)

GlobalConfiguration.Configure(WebApiConfig.Register);
ReportsControllerConfiguration.RegisterRoutes(GlobalConfiguration.Configuration);

 

What am I doing wrong?

Stef
Telerik team
 answered on 02 Dec 2015
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?