This is a migrated thread and some comments may be shown as answers.

ReportViewer control not seen in VB code behind form

1 Answer 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin Mason
Top achievements
Rank 1
Kevin Mason asked on 03 Oct 2008, 04:11 AM
*****Page PDFReport.aspx******

<%

@ Register assembly="Telerik.ReportViewer.WebForms, Version=2.8.8.925, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>

<

telerik:ReportViewer ID="PDFReportViewer1" runat="server" ></telerik:ReportViewer>

*****Code behind PDFReport.aspx.vb******
*****Class C_PDFReport*****

Me.PDFReportViewer1 = Nothing

*****Compile error*****

Error 1 'PDFReportViewer1'
 is not a member of 'LHLP.C_PDFReport'.
 D:\IISPUB_LHLP\LHLP\C\PDFReport.aspx.vb

*******************************************************

Intellisense Me. finds PDFReportViewer1

Due to compile error, unable to open the web reportviewer

Any clues as to the cause or workaround?

Thanks


1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 03 Oct 2008, 12:02 PM
Hello Kevin,

The provided information is not enough to tell exactly what the problem is. There is some discrepancy between the web form and the code-behind file but unless you send us the solution we would not be able to help you solve the issue. Thank you for the understanding.

Kind regards,
Chavdar
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Kevin Mason
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or