Telerik Forums
Reporting Forum
1 answer
444 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
171 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
162 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
141 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
383 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
240 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
125 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
61 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
154 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
1 answer
140 views

We have a dynamically created report that we build using a table.  One of the columns on this report is a PictureBox that we use a LoadImage(path) function for the value.  This report displays correctly in the viewer.  I can also export it to a PDF without a problem.  However, when I try to export it to excel or when I try to write it directly to excel, I get a "parameter is not valid" error with the full stack trace shown below.  I tried this locally and on a test server but I get the same error.  Is there a setting on the PictureBox that I am missing?  Configuration settings?  Any ideas?

 

    Exception type: ArgumentException 
    Exception message: Parameter is not valid.
   
    Stack trace:    at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
   at Telerik.Reporting.ExcelRendering.PictureBox.GetAdjustedImage(Image originalImage, RectangleU srcRectangle, RectangleU dstRectangle)
   at Telerik.Reporting.ExcelRendering.PictureBox.ProcessImage(Image originalImage, RectangleU& excelRectangle, Image& excelImage)
   at Telerik.Reporting.ExcelRendering.PictureBox.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.Table.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.Section.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.Group.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.Report.RenderInternal(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, RenderingContext context)
   at Telerik.Reporting.ExcelRendering.Report.Render(IWorkbook workbook)
   at Telerik.Reporting.OpenXmlRendering.Spreadsheet.SpreadsheetReport.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderCore(String format, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
   at Telerik.ReportViewer.WebForms.ReportExportOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext)
   at Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride()
   at Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext context, ICacheManager cacheManager)
   at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 ​

Koren
Top achievements
Rank 1
 answered on 11 Nov 2015
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?