This article explains how to use or get started with the ASP.NET MVC Wrapper for Kendo UI.
In this article I will cover:
· How to use the ASP.NET MVC wrapper
· Adding the dropdown to a page
· Populating the dropdown with remote data
Requirements:
Visual Studio
At least MVC version 3
Getting into the core
Download and install the Kendo UI for ASP.NET MVC VsExtension
Create a Telerik ASP.NET MVC project as in the following:
- Open Visual Studio 2012 and create a new project.
- Select "File" -> "New" -> "Project...".
- Select Web in the installed templates and click Telerik ASP.NET MVC Application.
- Provide the name for the project and click OK as in Figure 1.

Now Visual Studio creates a project by copying the JavaScript libraries and CSS files with all the necessary configuration.
By default you will have a Kendo UI panel bar in Home view as shown in Figure 6.

Adding dropdown to a page
The Kendo UI Wrappers are HTML helpers with a fluent API, in other words each method returns the instance of the widget.
Here is the code to implement the static dropdownlist in the Home view.
- @{
- var Item = new List<string>()
- {
- "item1","item2","item3"
- };
- }
- @Html.Kendo().DropDownList().Name("Items").BindTo(@Item)
Populating the dropdown list using remote data source
- public class CountryController : Controller
- {
- testEntities _context = new testEntities();
- // GET: Country
- public ActionResult Index()
- {
- return View(_context.tbl_country.ToList());
- }
- }
- @{
- ViewBag.Title = "Index";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- <h2>Kendo DropDownList with Remote binding</h2>
- @model IEnumerable<TelerikMvcApp1.tbl_country>
- @(
- Html.Kendo().DropDownList().Name("kdropdownlist")
- .DataTextField("Country_Name")
- .DataValueField("Country_ID")
- .BindTo(Model)
- .OptionLabel("Select a Country")
- )


Arul RPosted Oct 28, 2015, 1:55 AM EDT
Nice share!!!
Gowtham KTOP 100Posted Sep 1, 2015, 9:46 AM EDT
Thanks a lot guys
sreenivasa kPosted Aug 31, 2015, 10:27 AM EDT
nice one
Shridhar SharmaPosted Aug 31, 2015, 7:33 AM EDT
nice share
Jaipal ReddyPosted Aug 31, 2015, 12:44 AM EDT
nice
Ankit BansalPosted Aug 31, 2015, 12:25 AM EDT
thanks for share..
Yashwanth MuthineniPosted Aug 30, 2015, 9:30 PM EDT
Nice Share
Debasis SahaTOP 100Posted Aug 30, 2015, 9:20 PM EDT
Good One..
Karthikeyan KPosted Aug 30, 2015, 7:13 PM EDT
Good one sir..Thanks for share
Mohammed IbrahimPosted Aug 30, 2015, 5:53 PM EDT
nice
Hashim ShafiqPosted Aug 30, 2015, 5:46 PM EDT
nice