ASP MVC 4 using old aspx not razor
Bootstrap css
confirmed /api/reports/formats returns json
so rest service webapi is working
/Reports/telerikReportViewerTemplate.html
returns correctly in the browser
All I get is the following "Telerik.ReportViewer.Mvc.ReportViewerBuilder"
Here is my mark-up
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=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 provide the report viewer with reports.
// The service must be properly configured so that the report viewer can
// successfully communicate with the server.
// 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("/Reports/telerikReportViewerTemplate.html")
// Strongly typed ReportSource - TypeReportSource or UriReportSource.
.ReportSource(new TypeReportSource() { TypeName = "Tracker.Services.ReportOpenOpportunities, Tracker.Services" })
// Specifies whether the viewer is in interactive or print preview mode.
// PRINT_PREVIEW - Displays the paginated report as if it is printed on paper. Interactivity is not enabled.
// INTERACTIVE - Displays the report in its original width and height witn no paging. Additionally interactivity is enabled.
.ViewMode(ViewModes.INTERACTIVE)
// Sets the scale mode of the viewer.
// Three modes exist currently:
// FIT_PAGE - The whole report will fit on the page (will zoom in or out), regardless of its width and height.
// FIT_PAGE_WIDTH - The report will be zoomed in or out so that the width of the screen and the width of the report match.
// SPECIFIC - Uses the scale to zoom in and out the report.
.ScaleMode(ScaleModes.SPECIFIC)
// Zoom in and out the report using the scale
// 1.0 is equal to 100%, i.e. the original size of the report
.Scale(1.0)
// Sets whether the viewer’s client session to be persisted between the page’s refreshes(ex. postback).
// The session is stored in the browser’s sessionStorage and is available for the duration of the page session.
.PersistSession(false) %>
</asp:Content>
Bootstrap css
confirmed /api/reports/formats returns json
so rest service webapi is working
/Reports/telerikReportViewerTemplate.html
returns correctly in the browser
All I get is the following "Telerik.ReportViewer.Mvc.ReportViewerBuilder"
Here is my mark-up
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=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 provide the report viewer with reports.
// The service must be properly configured so that the report viewer can
// successfully communicate with the server.
// 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("/Reports/telerikReportViewerTemplate.html")
// Strongly typed ReportSource - TypeReportSource or UriReportSource.
.ReportSource(new TypeReportSource() { TypeName = "Tracker.Services.ReportOpenOpportunities, Tracker.Services" })
// Specifies whether the viewer is in interactive or print preview mode.
// PRINT_PREVIEW - Displays the paginated report as if it is printed on paper. Interactivity is not enabled.
// INTERACTIVE - Displays the report in its original width and height witn no paging. Additionally interactivity is enabled.
.ViewMode(ViewModes.INTERACTIVE)
// Sets the scale mode of the viewer.
// Three modes exist currently:
// FIT_PAGE - The whole report will fit on the page (will zoom in or out), regardless of its width and height.
// FIT_PAGE_WIDTH - The report will be zoomed in or out so that the width of the screen and the width of the report match.
// SPECIFIC - Uses the scale to zoom in and out the report.
.ScaleMode(ScaleModes.SPECIFIC)
// Zoom in and out the report using the scale
// 1.0 is equal to 100%, i.e. the original size of the report
.Scale(1.0)
// Sets whether the viewer’s client session to be persisted between the page’s refreshes(ex. postback).
// The session is stored in the browser’s sessionStorage and is available for the duration of the page session.
.PersistSession(false) %>
</asp:Content>