I am not sure how to get the values from the sortable object on the post call. Does the Viewmodel property have to match the <li> name or I the sortible object name
@(Html.Kendo().Sortable()
.For("#StandardsDirectives")
.ConnectWith("#MyStandardsDirectives")
.PlaceholderHandler("placeholder")
.Cursor("url('" + Url.Content("~/Content/Curser/closedhand.cur") + "'), default")
)
OR
@if (!Equals(Model.Document, null))
{
foreach (var standard in Model.Document.MyStandardsDirectives)
{
<li class="list-item">@Html.Label(standard.Name)</li>
}
}
@(Html.Kendo().Sortable()
.For("#StandardsDirectives")
.ConnectWith("#MyStandardsDirectives")
.PlaceholderHandler("placeholder")
.Cursor("url('" + Url.Content("~/Content/Curser/closedhand.cur") + "'), default")
)
OR
@if (!Equals(Model.Document, null))
{
foreach (var standard in Model.Document.MyStandardsDirectives)
{
<li class="list-item">@Html.Label(standard.Name)</li>
}
}