Hi
i am using HTM5 report viewer in MVC application.
Look in http://www.telerik.com/help/reporting/connecting-to-data-working-with-data-at-design-time.html .In the Data source available only at runtime section, it is said to mock your data just to enable the Report Designer to show any data schema. How can i mock my data?i don't want to add datasource Another question is that if assign a data source at design time,will NeedDataSource event of report will fire or not ? Please let me know.
SabbirTrying to integrated HTML 5 viewer and REST service into my existing application, but have hit a wall I can't for the life of me work out
Report (very simple file, just plain text) is being executed as output in the Debug window
DocumentFormat.OpenXml.Packaging.WordprocessingDocumentDocumentFormat.OpenXml.Packaging.PresentationDocumentDocumentFormat.OpenXml.Packaging.SpreadsheetDocument*** RenderReport #0 STARTED ****** RenderReport #0 DONE in 00:00:00.2709344 ***All calls to the service are executing successfully as shown in the Fiddler log
POST http://localhost:36584/api/reports/clients200 OK (application/json)POST http://localhost:36584/api/reports/clients/112900-47f1/parameters200 OK (application/json)POST http://localhost:36584/api/reports/clients/112900-47f1/instances201 Created (application/json)POST http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents202 Accepted (application/json)GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/info202 Accepted (application/json)GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/info202 Accepted (application/json)GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/info200 OK (application/json)GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/pages/1200 OK (application/json)Output from the main call seems OK
pageContent=<div><div class="sheet page1" style="padding-left:0px;padding-right:0px;padding-top:0px;padding-bottom:0px;width:605px;height:340px;"><div class="layer"><div title="" class="Report2 s0-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:76px;width:605px;height:189px;"></div><div title="" class="Group s0-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:76px;width:605px;height:189px;"></div><div title="" class="detailSection1 s1-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:76px;width:605px;height:189px;"></div><div title="" class="textBox1 s2-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:249px;top:151px;width:108px;height:38px;"><div style="position:absolute;top:0px;white-space:pre;left:3px;">THIS IS ONLY A </div><div style="position:absolute;top:15px;white-space:pre;left:3px;">TEST !!!!!!!!!!!</div></div><div title="" class="pageHeaderSection1 s3-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:0px;width:605px;height:76px;"></div><div title="" class="pageFooterSection1 s4-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:265px;width:605px;height:75px;"></div><div class="trial">Telerik Reporting v9.1 trial version. Copyright Telerik AD © 2006-2015.<br />To remove this message, please obtain a commercial version from <a href="http://www.telerik.com" target="_blank">www.telerik.com</a></div></div></div></div>Yet my UI still remains at the default / placeholder text of Loading ...
app.controller("reportViewController", function () { $("#reportViewer1") .telerik_ReportViewer({ serviceUrl: '/api/reports/', templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate-9.1.15.731.html', reportSource: { report: 'Report1.trdx', parameters: { CultureID: "en" } }, scaleMode: telerikReportViewer.ScaleModes.FIT_PAGE, scale: 1.0 });});
<style> #reportViewer1 { position: absolute; left: 5px; right: 5px; top: 5px; bottom: 5px; font-family: 'segoe ui', 'ms sans serif'; overflow: hidden; }</style><div id="parent"> <div id="reportViewer1" class="k-widget"> LOADING ... </div></div>Thanks in advance!
Hey Guys ,
I have used the examples below to create a pie chart and set the data alignment to outside column assuming this would fix overlapping data labels. how ever this did not seem to change anything and my data labels are still overlapping am i missing something is there a setting i forgot to set or change??
http://www.telerik.com/help/reporting/graphhowtocreatepiechart.html
http://www.telerik.com/help/reporting/piecharts.html​
Hey folks,
Was just wondering if it would be possible to get an status update on this reporting feature request? http://feedback.telerik.com/Project/162/Feedback/Details/128861-nested-tables-should-not-be-kept-together - its currently showing as being in development and looks like its been that way since last year.
Thanks.
Hi
Do we have smart labels feature for telerik reporting graph? lot of cool features in chart are missing in graph or we are not able to find.
do you have a comparison sheet of what features are missing in reporting.graph compared to reporting.chart?
1. smart labels
2. label aligned to vertical position
3. tooltips on mouseover on bars
4. auto resize graph if we have lot of data?
can you suggest us how to implement these as labels could have long names or lot of chart datapoints we would like to show on mouseover etc.
Hi all. I have a problem and don't know how to fix. I add a reportviewer control to aspx and try to set the ReportSource from code behind. The report is rendering on page, but unfortunately there is no content. When debugging i see that the ReportSource of report viewer is the same, which i bind, but no table shows on screen. I'm creating the Report object programmatically. If load report, created from standalone Report Designer there is no problem.
This is the custom object I've tried to bind:
"[DataObject]
public class ReportSource
{
[DataObjectMethod(DataObjectMethodType.Select)]
public IList<Source> GetData()
{
var result = new List<Source>();
var data = ActiveTradesCache.GetActiveTradeData();
foreach (var item in data)
{
result.Add(new Source() { Rate = item.OrderRate });
}
return result;
//trgOpendDeals.DataSource = new Object[0];
//trgOpendDeals.MasterTableView.VirtualItemCount = 0;
//trgOpendDeals.DataBind();
}
}
public class Source
{
public double Rate { get; set; }
}
"
And the fill source method, which is in Page_Load event:
"
Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
objectDataSource.DataSource = typeof(ReportSource);
objectDataSource.DataMember = "GetData";
Telerik.Reporting.Report report = new Telerik.Reporting.Report();
report.DataSource = objectDataSource;
Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
rvOpenDeals.ReportSource = reportSource;
// Calling the RefreshReport method in case this is a WinForms application.
rvOpenDeals.RefreshReport();
reportSource.ReportDocument = report;
"
Best regards,
Lachezar