I created a project using telerik reporting (trial version). I created a Class Library - the application name is QuotationReportClassLibrary - It has one report - Specific Quote.
I am able to preview it.
I use IronSpeed for my asp.net web application.
I copied QuotationReportClassLibrary.dll to the \bin directory of my IronSpeed project.
I also added the following lines to the IronSpeed web.config file -
I created an empty page in IronSpeed - and added the following -
Also the following registration code -
I am able to run the report successfully.
However I want to specify the report in code behind - like
But I get a compile time error - the QuotationReportClassLibrary is not found.
What must I do to rectify my error?
I am able to preview it.
I use IronSpeed for my asp.net web application.
I copied QuotationReportClassLibrary.dll to the \bin directory of my IronSpeed project.
I also added the following lines to the IronSpeed web.config file -
<
add
assembly
=
"Telerik.ReportViewer.WebForms, Version=5.1.11.928, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"
/>
<
add
assembly
=
"Telerik.Reporting, Version=5.1.11.928, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"
/>
<
add
assembly
=
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
I created an empty page in IronSpeed - and added the following -
<
telerik:reportviewer
id
=
"ReportViewer1"
report
=
"QuotationReportClassLibrary.SpecificQuote, QuotationReportClassLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
runat
=
"server"
style
=
"border:1px solid #ccc;"
width
=
"800px"
height
=
"1000px"
/>
Also the following registration code -
<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=5.1.11.928, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>
I am able to run the report successfully.
However I want to specify the report in code behind - like
Dim fs As New QuotationReportClassLibrary.SpecificQuote()
But I get a compile time error - the QuotationReportClassLibrary is not found.
What must I do to rectify my error?