Hello -
I am new to Telerik Reporting adn I have read a few posts about having to add the control to an ASPX page. My question: we use .Ascx user controls/pages, so is it possible to use the Telerik Reporting control on this type of control/page?
Thanks,
- Will
I am new to Telerik Reporting adn I have read a few posts about having to add the control to an ASPX page. My question: we use .Ascx user controls/pages, so is it possible to use the Telerik Reporting control on this type of control/page?
Thanks,
- Will
7 Answers, 1 is accepted
0
Yes, Will, you can use the Report Viewer control in .ascx user controls without problems. We use accepted practices when it comes to development and all of our products work in .ascx user controls. I have attached a sample web site solution for reference.
Let me know if you have any other questions.
Best wishes,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Let me know if you have any other questions.
Best wishes,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Will
Top achievements
Rank 1
answered on 14 Aug 2007, 02:20 PM
Chavdar -
Thanks for the reply and sample. I haven't looked at it yet, but will check it out soon.
I was wondering because we use Dotnetnuke and whenever I take a module that we created for our Dotnetnuke site and try to drag a Report Viewer control on the ASCX user control, all I get is an error that states: "Control cannot be created because Visual Studio cannot find the control's type in the control assembly." Is there some way to fix this issue? I searched around on your site (and Google) and see that there are many posts with this problem. Unfortunately, none of the solutions work for me. Can you help?
Thanks -
Will
Thanks for the reply and sample. I haven't looked at it yet, but will check it out soon.
I was wondering because we use Dotnetnuke and whenever I take a module that we created for our Dotnetnuke site and try to drag a Report Viewer control on the ASCX user control, all I get is an error that states: "Control cannot be created because Visual Studio cannot find the control's type in the control assembly." Is there some way to fix this issue? I searched around on your site (and Google) and see that there are many posts with this problem. Unfortunately, none of the solutions work for me. Can you help?
Thanks -
Will
0
Hi Will,
Most likely the problem is that you are missing an assembly reference to the Telerik.ReportViewer.WebForms.dll. Try to add it manually and then try to drag and drop the viewer again. It might be necessary to add "Imports Telerik.ReportViewer.WebForms" namespace in the Imports list.
The Telerik.ReportViewer.WebForms.dll can be found in [Program Files]\Telerik\Reporting1.0\bin folder.
Hope this helps.
Sincerely yours,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Most likely the problem is that you are missing an assembly reference to the Telerik.ReportViewer.WebForms.dll. Try to add it manually and then try to drag and drop the viewer again. It might be necessary to add "Imports Telerik.ReportViewer.WebForms" namespace in the Imports list.
The Telerik.ReportViewer.WebForms.dll can be found in [Program Files]\Telerik\Reporting1.0\bin folder.
Hope this helps.
Sincerely yours,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Will
Top achievements
Rank 1
answered on 14 Aug 2007, 07:01 PM
I manually added a reference to the Telerik.ReportViewer.WebForms.DLL and also added the Imports statement....and the error, "Control cannot be created because Visual Studio cannot find the control's type in the control assembly.", still persists.
Is there anything else I can try?
thanks
- will
Is there anything else I can try?
thanks
- will
0
Hi Will,
We managed to reproduce the error when we created the DNN web site on a network drive. I guess this is your case as well. Unfortunatelly we were not able to find the exact reason why this happens. It seems to be something between Visual Studio, drive/folder permissions and the code executed by our control. We'll continue investigating the issue.
The only workaround that is possible for now is to add the Web Site project to a file version control system (e.g. Microsoft Visual SourceSafe) and work on local drives.
Hope this helps.
Sincerely yours,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We managed to reproduce the error when we created the DNN web site on a network drive. I guess this is your case as well. Unfortunatelly we were not able to find the exact reason why this happens. It seems to be something between Visual Studio, drive/folder permissions and the code executed by our control. We'll continue investigating the issue.
The only workaround that is possible for now is to add the Web Site project to a file version control system (e.g. Microsoft Visual SourceSafe) and work on local drives.
Hope this helps.
Sincerely yours,
Chavdar
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Eric
Top achievements
Rank 1
answered on 16 Nov 2010, 02:09 AM
Was this problem ever resloved? I get the same error, but when drgging any control into Visual Studio web form.
0
Hello Eric,
This is a generic .NET error as you've found out by confirming that it occurs when dragging any control in Visual Studio. You can try repairing Visual Studio or follow other advices from threads on the net.
Greetings,
Steve
the Telerik team
This is a generic .NET error as you've found out by confirming that it occurs when dragging any control in Visual Studio. You can try repairing Visual Studio or follow other advices from threads on the net.
Greetings,
Steve
the Telerik team
See What's New in Telerik Reporting in Q3 2010 on Wednesday, November 17, 11am Eastern Time: Register here>>