Hi,
Using the HTML report viewer I am generating the html/javascript from an aspx class and am adding date parameters so that the resulting Javascript looks like this:
$("#reportViewer1") .telerik_ReportViewer({ // 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: "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: 'ReportViewer/templates/telerikReportViewerTemplate-9.2.15.930.html', //ReportSource - report description reportSource: { // The report can be set to a report file name (trdx report definition) // or CLR type name (report class definition). report: "ReasonsForDemurrageBasic", // Parameters name value dictionary parameters: { restrictClientAccountCompanyKey : 1,portKey : 2,dateFormat : "dd/MM/yy",startDate : new Date("2015/01/01"),endDate : new Date("2015/11/01"),suppressTitles : false } },
So you can see that I am setting up to date parameters without times. I want these dates to be passed back when executing the report as is, I don't want any timezone conversion. When the report is run, using Fiddler I can see that the request is:
{"report":"ReasonsForDemurrageBasic","parameterValues":{"restrictClientAccountCompanyKey":1,"portKey":2,"dateFormat":"dd/MM/yy","startDate":"2015-01-01T05:00:00.000Z","endDate":"2015-11-01T05:00:00.000Z","suppressTitles":false}}
You can see that it has assumed that I want the dates converted (with an assumption of a time if 0:0:0 in my local timezone) into UTC. I realise that the trend now is for JSON to write dates in this format with the timezone, but is there a way without hacking telerikReportViewer-9.2.15.930.min.js to stop it adjusting the time? "startDate":"2015-01-01T00:00:00.000Z" would be ok for example in this case.
Thanks,
Scott
hi, i am unable to find Telerik Reporting Q2 2013 ... i have search all over in my acount >product and subscription >trials> reporting > download > all production versions. there are only two production versions. 9.2 and 9.1 i want Telerik reporting q2 2013 7.1 version. please help or give me link or ftp so where i can download it directly..
thanks a lot.
Hi
I am using Telerik Reporting 2013 in a WPF application.
I have ReportViewer inside on of my windows.
I would like to change the font size of the zoom control, since the font is to big the report generate another line to fit the control size.
Files are attached.
Thanks
Ron
I'm changing my report parameter through NeedDataSource or ItemDataBinding events but these events are firing only once? Why? It fires only when the report is generated the first time.
The event looks like
private void rptKomplet_NeedDataSource(object sender, EventArgs e)
{
Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
this.sqlDataSource1.Parameters["@some_param"].Value = <here comes param from controller>;
report.DataSource = sqlDataSource1;
}​
| Telerik.ReportViewer.WinForms.ReportViewerException: The ReportViewer control handle failed to create. |
| at Telerik.ReportViewer.WinForms.ReportViewerBase.OnRenderingComplete(RenderingThreadResult result, PostRenderArgs args) |
| at Telerik.ReportViewer.WinForms.RenderingThread.OnComplete(RenderingThreadArgs args, RenderingThreadResult result) |
| at Telerik.ReportViewer.WinForms.RenderingThread.ThreadFunc(Object o) |
| at System.Threading.ThreadHelper.ThreadStart_Context(Object state) |
| at System.Threading.ExecutionContext.runTryCode(Object userData) |
| at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) |
| at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) |
| at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) |
| at System.Threading.ThreadHelper.ThreadStart(Object obj) |
Hi,
Is there a way to log report loading time in production environment when using Asp.Net Report viewer?
By the way I try to review IIs log file to get the request time and i found all reports urls comes with InstanceID and I can't to know which InstanceID related to which report
I am trying to add a new Report Viewing Window in my Visual Studio 2013 developed WPF application. I already have a report defined in a separate class library and now I am trying to use that report in my WPF app. I am trying to Add New Item and from the WPF category I choose "Telerik Report Viewer Window Q3 2015". I name it accordingly and then I am presented with a form to configure the source of the report. I choose Existing Report Definition. Once I select Existing Report Definition, the only option I have is "TRDX report definition created in Report Designer". The other option, "Type report definition created in Visual Studio" is not enabled. My report was created in the Visual Studio designer, so I would expect to use this option. There's a progress bar that says "Loading types...". I wait on it for close to a minute or so, hoping that it will find my report and it will allow me to select it. It doesn't because the Visual Studio crashes and then it reopens on its own. I need to reload the entire solution and basically start the whole process all over again.
Does anyone else have the same experience and if you do, how did you solve it?
TIA,
Eddie