By default, all the resources required to use the available controls get registered, when you create a new application using the ComponentOne MVC template. But, you need to register resources manually in case you create a project using standard Visual Studio templates.
Complete the following steps to register the required resources for using ASP.NET MVC Edition controls:
<head></head>
tags. This step will register all the MVC controls used in your application, except FinancialChart, FlexSheet, MultiRow, FlexViewer and OLAP controls.
_Layout.cshtml.
You can add or remove the controls depending upon your project requirements.
ASP.NET MVC Edition supports conditional resource registration. Wherein, you may register only the resources that you wish to use in your application to keep your application lighter. For example, the following code will register the resources required to use FlexChart and FlexPie.
To use styles in your MVC application, you need to register the styles (CSS) files which includes the resources for a theme and culture. You can also apply different themes using Theme method, the supported themes are defined in C1.Web.Mvc.Themes static class.