Thanks in advance,
I'm using Telerik 2015 ASP ReportViewer for about two years. For some reason, I am unable to reference the control behind.
- I have the control on the ASPX page and referenced in the declaration
- I dropped the report viewer on the page
In my code behind, I'm having problems setting the data source and width. For example, I have the following in the
I'm getting the error that the ReportViewer1 is not a member of the page?
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=18.104.22.1682, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<telerik:ReportViewer ID="ReportViewer1" runat="server"></telerik:ReportViewer>
If RT = "CL" Then
' 'Run the Case Log Report
Dim DM_REPORT_PATH As String = Server.MapPath(Directory & "DM_CASE_LOGNOTES.trdx") ' 'Fetch the assigned report from the Report Folder.
' 'Set the Report Source to the Report Path
uriReportSource.Uri = DM_REPORT_PATH
Me.ReportViewer1.Width = 1080end
Me.ReportViewer1.Height = 875