Telerik Forums
Reporting Forum
3 answers
102 views
This is a test forum post, please ignore.
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 09 Sep 2019
2 answers
807 views

C# ASP.NET MVC

I have the following code in view:

<script type="text/javascript">         

                $("#reportViewer1").telerik_ReportViewer({                 

                       templateUrl: "/Resources/Templates/telerikReportViewerTemplate.html",                 

                       serviceUrl: "/api/reports",                 

                       reportSource: {report: "VentasFamilia.trdp",

                                               parameters: {                     

                                                       Delegaciones: $("#filterDelegacion").data("kendoMultiSelect").value(),                               Familias: $("#filterFamilia").data("kendoMultiSelect").value(),                     

                                                      Series: $("#filterSerie").data("kendoMultiSelect").value(),                    

                                                      FechaInicio: $("#desde").val(),                     

                                                      FechaFin: $("#hasta").val()                   

                                                     }                 

                   }             

});     

</script>

How should I do on the controller to receive the parameters and name of the report?

Silviya
Telerik team
 answered on 09 Sep 2019
1 answer
53 views

Hi,

I have tried to use the Visual Studio Report Designer for Telerik Reporting, my solution contains an asp.net core 2.1 web app and i have created an api controller, the idea is provide json data from my controller/actionresult in my web app to Report Designer Visual Studio 2017 to create a report though webservice datasource.  I have recieved an error (see image#3_ReporDesignerVS2017.PNG attached).  So, my question is: do the webservice datasource from designer allows connect with .SVC (WCF) or .ASMX (SOAP) services only? My web app retrieve data as REST service, what are your recommendations?

 

Thanks,

David Gonzalez,

 

Jose
Top achievements
Rank 1
 answered on 06 Sep 2019
5 answers
774 views
Hi,
Please explain to me how to delete the empty space that appears between the group ranges, if I set the visibility in the detailed range = False
Todor
Telerik team
 answered on 05 Sep 2019
1 answer
720 views

Hello.

I got a PictureBox that the URI is a call to an action method :

="https://mysite.com/Stocks/Dwnlod/" + CStr(Fields.PhysicalName)

 

I use ASP.NET MVC Core and my pictures are not in wwwroot.  They are under another directory of the project.

So I use a method to get the filestream of the file :

[Authorize]
public async Task<FileStreamResult> Dwnlod(string id)
{
    ...
    var memory = new MemoryStream();
    try
    {
        using (var stream = new FileStream(path, FileMode.Open))
        {
            await stream.CopyToAsync(memory);
        }
    }
    catch (Exception e)
    {
 
    }
    memory.Position = 0;
 
    return File(memory, GetContentType(path), Path.GetFileName(path));
}

 

As you can see my action method is decorated [Authorize] so it's impossible to get the stream from the report even if the user is connected and authenticated.  The call of URI from the report seem be anonyous.  So i got a error (of course everything works #1 when I remove the decoration Authorize).

 

Any suggestion to keep [Authorize]?  Can the report can provide some authenification when the URI is called?

 

Thank you all of you at Telerik.

 

 

Neli
Telerik team
 answered on 04 Sep 2019
5 answers
1.3K+ views
How can insert %subject There is shape with rounding, but need . With Strech on, corners are stretched too :( Thx.
Neli
Telerik team
 answered on 04 Sep 2019
8 answers
867 views
I am exporting a report in Excel format and I was curious if there is a way to lock a particular column in the spreadsheet so that it is not editable.
Todor
Telerik team
 answered on 04 Sep 2019
3 answers
205 views

Hi,
I have a Toggle Button on the header of the parent group (Group Name in example) which when I expand does not reflect on the toggle buttons of the child (BZ Liquor Eat In etc in the example). Same with the toggle button on Department and its sub group toggle buttons. I have attached screen shots for better understanding. 
They all work fine individually, just that when I expand / collapse all, the individual buttons need to change as well. Any help would be appreciated. Thank you

 

http://www.telerik.com/clientsfiles/ac9e5192-e0a2-4cb9-87f6-be0c9b958413_reportdesign.png?sfvrsn=0
http://www.telerik.com/clientsfiles/852ee669-1738-4c3c-aa01-16057fd7e2b0_department-collapsed.png?sfvrsn=0
http://www.telerik.com/clientsfiles/b2243263-adcf-4fba-9452-6e952d35879d_collapsedmode.png?sfvrsn=0
http://www.telerik.com/clientsfiles/b20e189a-93a4-4411-b67d-f53c91eefcb4_department-expanded.png?sfvrsn=0
http://www.telerik.com/clientsfiles/cacd6114-95d3-4969-bfe9-c833f3b6abc7_expandedmode.png?sfvrsn=0

Todor
Telerik team
 answered on 03 Sep 2019
8 answers
743 views
I'm currently looking for a reporting tool and I downloaded the trial version of Telerik Report. I'm currently trying to generate a report programmatically. I'm able to do everything needed so far but for some reason there is a large whitespace between my group header and detail section that I cannot seem to remove. I was hoping someone may have a sugestion.

Thanks,
Colleen
Top achievements
Rank 1
 answered on 03 Sep 2019
15 answers
1.6K+ views
When a user clicks on the "Export" button of the ReportViewer, he or she can choose to export the report to a PDF file because I made sure to reference the ImageRendering dll in my project.

How can I change the default filename to which the report will be exported?  I need to change this at run time, based on which report they have run and on which products.

Is there a way to set this?  Right now, it always exports to "Report.pdf" and that isn't going to work for this project.

I looked in the documentation, and in this forum, and have come up empty for setting the filename when the ReportViewer is being used (direct export to PDF is covered quite nicely here in the forum, however.)

Thanks!
Neli
Telerik team
 answered on 02 Sep 2019
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?