Telerik Forums
Reporting Forum
1 answer
154 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
70 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
162 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
154 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
2 answers
142 views

I have a report I built in Visual Studio but can't seem to find any tools to edit the report.

For example, how to I insert a text box?  How do I insert today's date?

Can a .cs file report be edited in the offline designer?

 

Thanks

Kurt

 

Kurt
Top achievements
Rank 1
 answered on 10 Nov 2015
1 answer
325 views

I have a report, straight table with 15 columns and 7000 rows.  Running in an MVC application.

Report is slow to load and renders the browser useless after it does render.

I am looking to have a discussion on things that can be done to reduce this perfomance bottleneck.

All suggestions welcome,

Kurt

 

Nasko
Telerik team
 answered on 10 Nov 2015
8 answers
160 views

Hi guys,
I want to hide some line portions in a telerik chart, I don't know how to explain it, so I've created an  example image to show you my idea

 

How you can see in this case I assumed that in March there isn't any data, so the line must by invisible in that month

Nasko
Telerik team
 answered on 10 Nov 2015
1 answer
53 views

I am running SQL 2008 R2 on Windows 7.  

Telerik Report Designer, Q3 2015.

I can't seem to get a connection string to connect to my database.  

Any thoughts on what I should select to connect?  

Thanks

Kurt

 

Nasko
Telerik team
 answered on 10 Nov 2015
2 answers
64 views

I am new at this, created a simple graph report and it displays just fine.  I have a table report (7000 rows, 15 columns) that works fine in visual studio.  When I try to view the report in the application this is that I see.

 

Done.  Total 1 pages loaded.  

 

But I never see the report paint on the screen.  Thoughts?  See attachment.

Kurt

 

Stef
Telerik team
 answered on 10 Nov 2015
2 answers
840 views

Hello guys, I'm new using Telerik Report. I'm using telerik report in windows forms application with visual basic in visual studio 2015. I've followed the "Best Practices"  and created a class library I've referenced this class in my application, but I can't view my reports I got the error "The source of the report definition has not been specified", I've already tryed "Instance report source" and "Type report source"

 

         Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()

        ' Assigning the Report object to the InstanceReportSource
        instanceReportSource.ReportDocument = New myLibrary.myReport

        ' Adding the initial parameter values
        instanceReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))​

 

and with Type report source I don't know how to do

 typeReportSource.TypeName = GetType(myLibraryObject?).AssemblyQualifiedName

     typeReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))​

what should I do?

 

thanks in advance

    

Aplicativos
Top achievements
Rank 1
 answered on 09 Nov 2015
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?