Telerik Forums
Reporting Forum
1 answer
111 views

Is there a way to use HTML5 Report Viewer in a JSP application?

 

All of the examples I've seen use  C# class ReportFileResolver.

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
501 views

Hello,

 

We are using 8.1 14.804 version of Telerik Reporting. We would like to use it with Visual Studio 2015 but the installer doesn't install anything for it.

Is there a way to have the report wizard (that would allow us to create specific avery labels reports) under Visual Studio 2015 ?

We don't want to upgrade our version of Telerik Reporting and we can't use VS2013 anymore. We are stuck with a product we bought but don't work anymore with VS2015. 

Please tell me if it is possible to do something.

Thanks,

Regards

Steeve

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
189 views

My question is: Why does the report "get" the list of ProfileItems that it uses for the report parameter twice?
Here's the setup:

Q3 2015 report
Adding a ReportParameter (right click report surface, select ReportParameters...)
Click the Add button, name it ProfileId.
Open the AvailableValues drop down and add a new ObjectDataSource for the Data Source of this parameter.
I'm using simple "POCO" object that returns an IEnumerable<ProfileItem> and ProfileItem has a First/Last Name and an Id field. Using a quick SQL query it populates all the active profiles from the database. Simple so far. Set the ValueMember to the Id field (it's a Guid) and the DisplayMember to the name. All done! Oh wait...I also have to set the Value.
Also, the report doesn't like Guids, so I've added a getter property that just returns the Guid Id as string.
Ok, now it all works fine!

Except, I was nosey and noticed that it accesses the data source to return the list of ProfileItem twice.
Why would it access the function twice?

Thanks!

Nasko
Telerik team
 answered on 16 Nov 2015
4 answers
184 views

I have problems when exporting report to Excel:
-  I would like to know why I get ​extra cells at a line when exporting to excel.
-  The colors are not the same (color blue turned into gray).

 

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
158 views

I have a Parameter called 'Group By'.  There are 3 choices in a dropdown on the report for which the user can select one and the report will be grouped differently.  I did this using bindings.

 My problem comes with the values of the dropdown.  We have a user defined function set up that accepts an organizations id and culture then returns a certain value.  For example, some orgs use 'Goal' and some use 'Strategy' to refer to the same thing.  I want the dropdown to change depending on the value of this function.

The select statement for my data source goes as follows:

select 
1 as GroupById
,'Epm.Reports.ReportLibrary.TermCache.GetData("FOCUS_AREA", Parameters.OwnerCode.Value, Parameters.CultureName.Value)' as GroupDisplay
UNION
select 
2 as GroupById
,'Epm.Reports.ReportLibrary.TermCache.GetData("FUNCTION_AREA", Parameters.OwnerCode.Value, Parameters.CultureName.Value)' as GroupDisplay
UNION
select
3 as GroupById
,'Epm.Reports.ReportLibrary.TermCache.GetData("GOAL", Parameters.OwnerCode.Value, Parameters.CultureName.Value)' as GroupDisplay

 

The Display Value for my parameter is GroupDisplay.  I would like these to display the word that is pulled from my function.  But the dropdown is filled with the full text 'Epm.Reports.ReportLibrary.TermCache.GetData("GOAL", Parameters.OwnerCode.Value, Parameters.CultureName.Value)'.  The function works elsewhere in the report so I know it is not that.  Any ideas?

 

Thanks,

Phillip

Nasko
Telerik team
 answered on 13 Nov 2015
4 answers
420 views

Hi,

I am encountering a problem during the Export to Word from the Report Viewer.

I added the references to DocumentFormat.Open XML(v. 2.5.5631.0)  and  Telerik.Reporting.OpenXMLRendering (Q2 2015 SP1).

The export in XLSX, PPTX and PDF runs fine, but when i try to export to DOC i get this Error:

[OpenXmlPackageException: "Only one instance of the type is allowed for this parent"]

---- DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer.InitPart(.....)

---- DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer.AddNewPartInternal(.....)

---- ​Telerik.Reporting.OpenXmlReader.Wordprocessing.DocumentBuilder.get_​Settings(.....)

 

 Googlin' didn't help me, but from what i can see, seems to be related to the document content. But i don't understand why. The excel / pdf / ppt works fine.

I have a copy of the Telerik.Reporting Cache Files if you need it

 

Thanks

 

 

 

Nasko
Telerik team
 answered on 13 Nov 2015
1 answer
265 views

When I try to open a .trdx file with Telerik Report Designer Q2 2014, I get the following error message:

Fatal error in workbench.  Now closing...

An error has occured while loading the ReportDesigner's Workbench

 

Any ideas???  I have a lot of reports that I am responsible for...

Stef
Telerik team
 answered on 12 Nov 2015
1 answer
160 views

Hello Friends,

 

I am new to the Telerik Reporting, I want to make a stand alone telerik report with linq datasource at run time in MVC application.

Please help me to get rid of this.

 

Nasko
Telerik team
 answered on 11 Nov 2015
2 answers
77 views

Hello!

Im trying to install Reporting for trial purposes in my company. I did in one machine without any trouble, however when I try to installed in a virtual machine, that is our main resource, the virtual machine aborts itself withouts any warning.

The program don't even finish to download the resources before the machine resets. This happens installing only reporting or other parts of the DevCraft suite. Im running Win8 on VirtualBox V5.0.8 hosted on an iMac with Capitan 10.11.1.

Any help or ideas would be appreciated.

Thank you in advance

Juan Francisco
Top achievements
Rank 1
 answered on 11 Nov 2015
2 answers
168 views

Hi,

 

Hope you are fine.

 

I am passing parameter from reportviewer to report like

TypeReportSource trs = new TypeReportSource() { TypeName = typeof(TYMReporting.Reports.ZoneReport1.ZoneReportTelerik).AssemblyQualifiedName };
trs.Parameters.Add(new Telerik.Reporting.Parameter("ID","1"));
 
@(Html.TelerikReporting().ReportViewer()
        // Each report viewer must have an id - it will be used by the initialization script
        // to find the element and initialize the report viewer.
        .Id("reportViewer1")
        // The URL of the service which will serve reports.
        // The URL corresponds to the name of the controller class (ReportsController).
        // For more information on how to configure the service please check http://www.telerik.com/help/reporting/telerik-reporting-rest-conception.html.
        .ServiceUrl(Url.Content("~/api/reports/"))
        // The URL for the report viewer template. The template can be edited -
        // new functionalities can be added and unneeded ones can be removed.
        // For more information please check http://www.telerik.com/help/reporting/html5-report-viewer-templates.html.
        .TemplateUrl(Url.Content("~/ReportViewer/templates/telerikReportViewerTemplate-9.1.15.731.html"))
        // Strongly typed ReportSource - TypeReportSource or UriReportSource.
        .ReportSource(trs)

So kindly tell me how can i get the passed parameter on report page. i am trying to get like

public ZoneReportTelerik()
        {
            InitializeComponent();
             
            var dal = new DataEntities();
            var zoneReport = new DataSet();
            var ID=this.ReportParameters["ID"].Value;
}

but its not getting the parameter. it always returns null. kindly guide me please.

 

REgards,

 

Faisal

Nasko
Telerik team
 answered on 11 Nov 2015
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?