0

I need to insert the reportviewer between the div elements

The online documentation tells me that I have to drag and drop onto the form page. I did'nt see anything about inserting into a html doc. Any pointers would be helpful. Thanks in advance.

recursive
  • 83,943
  • 34
  • 151
  • 241
Arun
  • 1,599
  • 5
  • 19
  • 33
  • Regular HTML pages does not support ASP.NET controls such as the ReportViewer. You need to create an ASPX page to host a ReportViewer. – Thomas Li May 26 '11 at 19:02
  • Thomas Li: Thanks. Do you know if it will on mvc3, and cshtml pages? – Arun May 26 '11 at 20:06

2 Answers2

0

See http://blogs.msdn.com/b/sajoshi/archive/2010/06/16/asp-net-mvc-handling-ssrs-reports-with-reportviewer-part-i.aspx for using the ReportViewer control in a MVC project.

Thomas Li
  • 3,358
  • 18
  • 14
0

ReportViewer is a server control and can't be added into a razor view. You can added a ReportViewer into any ASPX view page or view user control.

See my answer to this question for more details.

Community
  • 1
  • 1
Adrian Toman
  • 11,316
  • 5
  • 48
  • 62