Read Control DropDownList from View Within the View
VS '12 asp.net C# mvc Internet App + Kendo UI , EF Code First, Kendo UI
Using Kendo DDL
@(Html.Kendo().DropDownList()
.Name("dropdownlist")
.BindTo(new string[] { "Leasehold A", "Mineral Owner",
"Prospect", "StrangerInTitleNote", "StrangerInTitleNoteInfo",
"StrangerLeasingNote", "StrangerLeasingNoteInfo", "Subject To",
"Surface Note", "Surface Note Info", "Unreleased Mortage",
"Unreleased Oil and Gas Leasors", "Vesting Note" })
)
Very simple right? - now i want to extract the selected Item and place it
into an Actionlink
@Html.ActionLink("Create New", "Create", new { id = } )', null) ....
what do I place at the id= spot. How can I get this to work. Thanks for
any answers. PS: Not familiar with MVC to much or any HTML so far, must I
use a Script? - preferably I would like to not leave the view.
No comments:
Post a Comment