Telerik Forums
Reporting Forum
4 answers
615 views
Hello

I'm using Telerik.Reporting (Q3 2012 build 6.2.12.1123) for a MVC2 C# project.

Is it possible to use Radiobuttons instead of Checkboxes in a ReportView? Are there any examples?
I've got a boolean value which I want to show as a Radiobutton (True/False).


Jobi
Top achievements
Rank 1
 answered on 29 Jan 2019
1 answer
98 views

I have a report with a Crosstab on it. In Group Explorer, there is a single Parent Row group with one child (the details).  

My issue is that I can't seem to control the size of the Group Footer row - Can Grow is set to false (for the row and all text boxes within), yet it always matches the size of the detail section which can be huge. 

Todor
Telerik team
 answered on 28 Jan 2019
1 answer
675 views

We have a report generated using Telerik Standalone designer where we use CSV data sources. Sometimes these data sources contain Asian characters. Our default font is "Segoe UI" which does not support these characters when generating the PDF file. Is there a way that we can define a secondary font when generating a PDF file so when a PDF is generated it will identify these characters are not available in the primary font and switch to the secondary font? 

Thank you. 

Todor
Telerik team
 answered on 25 Jan 2019
1 answer
118 views

Hello,
I'm creating a report using something similar to the following classes:

public class Point
{
    public double X { get; set; }
    public double Y { get; set; }
}
 
public class Series
{
    public List<Point> Points { get; set; }
}
 
public class MultipleSeries
{
    public string Header { get; set; }
 
    //There could be any number of these
    public List<Series> Series { get; set; }
}
 
public class ManyMultipleSeries
{
    public List<MultipleSeries> ManySeries { get; set; }
}

 

Basically, the main report will bind to 'ManyMultipleSeries'. This class will have a list of 'MultipleSeries', which are bound to a sub report that contains the chart. The 'MultipleSeries' class could contain any number of 'Series' that need to be displayed in the chart. I could not find any way of creating a dynamic number of series like this in the docs. Thanks for any help.

Todor
Telerik team
 answered on 25 Jan 2019
4 answers
410 views
Hello,

I have the following problem: I have Telerik Report Q2 2010 class with SqlDataSource set on stored procedure. This procedure has several output parameters which are (obviously) evaluated during procedure's execution. Also, this procedure returns some columns from database. Now what I want is to retrieve these parameters value after execution of procedure and use them in designer (something like "{Fields.ReturnedValue}" in for example textbox).

What is the simpliest way to do this? Some examples would be helpful.

Best regards
Rafael
Silviya
Telerik team
 answered on 24 Jan 2019
1 answer
110 views
I got it how to use it ...
Priyanka
Top achievements
Rank 1
 answered on 24 Jan 2019
0 answers
260 views

Hello there ,

 I have a problem to loading the report from localhost , below is the my project environment 

1. Angular 5 , typescript 2.5.3 , ASP.Net Core2.0 , VS 2017 and Telerik Selhost Report service project .

   Issue : I have publish the project one my folder then i create a web site from my IIS  then reference to my published folder .  Then i have tested  from browser like " http://localhost:12345/api/reports "  then formats are loading 

        [{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLS","localizedName":"Excel 97-2003"},{"name":"XLSX","localizedName":"Excel Worksheet"},{"name":"PPTX","localizedName":"PowerPoint Presentation"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"MHTML","localizedName":"Web Archive"},{"name":"DOCX","localizedName":"Word Document"},{"name":"XPS","localizedName":"XPS Document"}]

Then i try to call this report from Angular project using type script like below .

   @Component({
    selector: 'printReport',
    template: `<tr-viewer #viewer1 
    [containerStyle]="viewerContainerStyle"
    [serviceUrl]="'http://localhost:12345/api/reports'"
    [templateUrl]="'node_modules/@progress/telerik-angular-report-viewer/dist/dependencies/telerikReportViewerTemplate-sass.html'"
    [reportSource]="Viewdata"
    [scaleMode]="'SPECIFIC'"
    [scale] = "1.0"
    [renderingEnd]="boundReportRendered"
    [error]="ReportError"
    [viewMode]="'PRINT_PREVIEW'">
    </tr-viewer>
    <button id='btnprint' style="display:none;" name='btnprint' (click)="viewer1.commands.print.exec()">Print</button>`,
   
})

So, report is not loading then i check this in Fiddler it gives error like :

stackTrace=   at Telerik.Reporting.Services.Engine.ReportEngine.ResolveReportSource(String report)
   at Telerik.Reporting.Services.Engine.ReportEngine.GetParameters(String clientID, String report, Dictionary`2 parameterValues)
   at Telerik.Reporting.Services.WebApi.ReportsControllerBase.GetParameters(String clientID, ClientReportSource reportSource)
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()

 

I am unable to duplicate this , can please help out to solve this issue .

 

 

 

Thanks

Victor.A

 

        

   

 

 

 

 

victor
Top achievements
Rank 1
 asked on 24 Jan 2019
1 answer
207 views

I am unable to get either of the new .NET Core samples to compile with both giving me the following error:

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorNU1101Unable to find package Telerik.Reporting.OpenXmlRendering. No packages exist with this id in source(s): https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json, Microsoft Visual Studio Offline Packages, nuget.org, TelerikCSharp.AspNetCoreDemoC:\Program Files (x86)\Progress\Telerik Reporting R1 2019\Examples\CSharp\Asp.NetCoreDemo\CSharp.AspNetCoreDemo.csproj1

Any thoughts?

Thank you,

Scott

Todor
Telerik team
 answered on 23 Jan 2019
1 answer
215 views

I have previously created a report in the standalone designer and successfully deployed it to my server with an api.  I was able to view it in my Angular application.  This worked fine using the .trdp file.  However, I recently tried creating a report in the Visual Studio designer and am having difficulty getting it deployed to my server.  I see there is no .trdp file.  Are there any files that are supposed to be generated and reside in the reports folder if I am doing it this way?  Is everything just compiled?  

I am getting the error "Unable to get report parameters. Report 'MyReport' cannot be resolved."  My report does not have any parameters and my controller code contains a call to .AddFallbackResolver.  

Please let me know what steps can be taken to a resolution.

 

Thanks,

Jennifer

Silviya
Telerik team
 answered on 23 Jan 2019
1 answer
266 views

We have a report where the data sources are provided as CSV files. In some scenarios, not all of these CSV files provided even though they are configured in the report. In standalone designer fields that have missing data sources will only show empty spaces. But when trying to generate through programmatically an error given as "Output error: Could not find file 'C:\DataSource\MissingFileName.csv'.".  Is there a way that programmatically to remove those data sources from a report item if the CSV file is missing which will show empty spaces in the output file? 

 

Thank you

Janitha
Top achievements
Rank 1
 answered on 23 Jan 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?