As of the Q1 2015 release, Telerik UI for ASP.NET MVC provides Scaffolding templates.
These templates allow you to apply standard scaffolding to generate MVC-helper declarations together with the related Controller action methods. Currently, the Grid, Scheduler, Chart and TreeView support scaffolding.
For more information on the available configuration options, refer to the following articles:
- Scaffolding of the Grid HtmlHelper
- Scaffolding of the Chart HtmlHelper
- Scaffolding of the Scheduler HtmlHelper
- Scaffolding of the TreeView HtmlHelper
- Visual Studio 2013 (with Update 2 or later), 2015, 2017 or 2019
- ASP.NET MVC 4 or ASP.NET MVC 5
- Entity Framework Data Model
The Scaffolder templates do not work in Visual Studio 2019 version 16.9.0+. A breaking change has been introduced in these Visual Studio 2019 versions, which affects the third party scaffolders. The issue has been reported to Microsoft, see Developer Community topic.
The Telerik UI for ASP.NET MVC installer will automatically install the extension.
You can also manually install it by navigating to the
wrappers\aspnetmvc\Scaffolding folder of the distribution package and open the included
vsix file. It will automatically detect compatible Visual Studio versions.
To initially set up Scaffolder Visual Studio extension:
From the New Scaffolded Item... menu which contains different items depending on the currently installed Scaffolders, access the Scaffolder extension.
From the next menu, select Kendo UI Scaffolder. As a result, the Scaffolding configuration panel opens.
Select the Grid, Chart, or Scheduler control. The Controller and the corresponding view will be generated in the currently selected location.