HI,
I create a .aspx file and try to open in design mode, my VS 2010 doesn't respond.
Did any one face this kind of problem. Is this because of telerik? It worked fine until yesterday when this happened.
The reason i need design mode is because i need to create a partial view and add telerik report viewer to the partial view in design mode.
If i add the code to add the telerik report viewer in source code it doesn't work.
<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=6.1.12.611, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>
<script runat="server">
public override void VerifyRenderingInServerForm(Control control)
{
// to avoid the server form (<form runat="server">) requirement
}
protected override void OnLoad(EventArgs e)
{
// bind the report viewer
base.OnLoad(e);
}
</script>
<form id="form1" runat="server">
<telerik:ReportViewer ID="ReportViewer1" runat="server" Width="100%">
<typereportsource
typename="WebEnrollment.Public.Web.Reports.ByProductReport, WebEnrollment.Public.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"></typereportsource>
</telerik:ReportViewer>
</form>
It throws runtime exception
I create a .aspx file and try to open in design mode, my VS 2010 doesn't respond.
Did any one face this kind of problem. Is this because of telerik? It worked fine until yesterday when this happened.
The reason i need design mode is because i need to create a partial view and add telerik report viewer to the partial view in design mode.
If i add the code to add the telerik report viewer in source code it doesn't work.
<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=6.1.12.611, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>
<script runat="server">
public override void VerifyRenderingInServerForm(Control control)
{
// to avoid the server form (<form runat="server">) requirement
}
protected override void OnLoad(EventArgs e)
{
// bind the report viewer
base.OnLoad(e);
}
</script>
<form id="form1" runat="server">
<telerik:ReportViewer ID="ReportViewer1" runat="server" Width="100%">
<typereportsource
typename="WebEnrollment.Public.Web.Reports.ByProductReport, WebEnrollment.Public.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"></typereportsource>
</telerik:ReportViewer>
</form>
It throws runtime exception
System.Web.HttpCompileException was unhandled by user code
Message=c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\webenrollment.public.web\185985ee\24be7516\App_Web_productviewpage.aspx.b76dddab.hrocxo6x.0.cs(245): error CS0234: The type or namespace name 'Reporting' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)