Edit this page

Scaffolding

As of the Kendo UI Q1 2015 release, Progress Telerik UI for ASP.NET MVC contains the Kendo UI Scaffolder extension.

It allows you to generate MVC-wrapper widget declarations together with the related Controller action methods. Currently, the Kendo UI Grid, Scheduler, and Chart widgets can be scaffolded. More widgets will be added in future releases.

Getting Started

Requirements

  • Visual Studio 2013 (with Update 2 or higher) or Visual Studio 2015
  • ASP.NET MVC 4 or ASP.NET MVC 5
  • C#
  • Entity Framework Data Model

Installation

The extension will be automatically installed by the Progress Telerik UI for ASP.NET MVC installer.

You could also manually install it by navigating to the wrappers\aspnetmvc\Scaffolding folder of the distribution package and opening the included vsix file. It will automatically detect compatible Visual Studio versions.

Initial Setup

To use the Kendo UI Scaffolder Visual Studio extension, follow the steps below.

  1. The Kendo UI Scaffolder extension could be accessed through the New Scaffolded Item... menu which has different items depending on the currently installed Scaffolders.

    Figure 1. New scaffolded items

    New Scaffolded Item

  2. Select the Kendo UI Scaffolder from the next menu.

    Figure 2. Kendo UI Scaffolder

    Kendo UI Scaffolder

  3. This brings up the Kendo UI scaffolding configuration panel to choose between the Kendo UI Grid, Chart, or Scheduler controls.

    Figure 3. Kendo UI Scaffolder widget selection

    Kendo UI Scaffolder Widget Selection

For detailed information on possible configuration options, refer to the following articles:

The Controller will be generated in the currently selected location along with the corresponding view.

Troubleshooting

For a list of issues and solutions to common problems you may encounter while working with the Kendo UI Scaffolder Visual Studio extension, refer to the troubleshooting article on scaffolding.

See Also