Insert the ReportDesigner MVC extension in one of the following ways:
Use the DevExpress MVC Extension Wizard
Open the main view (named Index.cshtml) and right-click anywhere in the view window. In the invoked context menu, select Insert DevExpress MVC Extension.
In the invoked dialog, select the Reports tab and then the ReportDesigner extension. Specify the required report as a model class to display in the Web Report Designer and click Insert. Note that you should add the report to the project before running this dialog.
The Web Report Designer displays a new empty report if you did not choose a report.
After that, the required style sheet and script extensions are registered automatically, and the following view code is generated: