or
{ Name: "Some Object", Other: "Some other Properties", Tags: [ { Name: "Tag1", }, { Name: "Tag2", } ]{ Name: "Some Object", Other: "Some other Properties", Tags: [ { Name: "Tag1", onDelete: function(e){ //somethinghappens; } }, { Name: "Tag2", onDelete: function(e){ //somethinghappens; } } ]
<BR><div style="position:absolute; @(item.GetDataSizePos(true)); margin-top:0px;"><BR> @Html.Kendo().DropDownList().Name(item.le.FieldId).BindTo(CaretakerPortal.App_Start.CaretakerHelpers.CreateSelectList(item.le.DropDownItems, item.datavalue.IntValue.ToString())).Enable(true).OptionLabel("Vælg fra listen").HtmlAttributes(new { @style = "width: 100%; height: 100%;" })<BR> </div><span class="k-widget k-dropdown k-header" style="width: 100%; height: 100%;" unselectable="on" role="listbox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-owns="aktivitet_aprioritet_listbox" aria-disabled="false" aria-readonly="false" aria-busy="false" aria-activedescendant="aktivitet_aprioritet_option_selected"><BR><span class="k-dropdown-wrap k-state-default" unselectable="on" style="visibility: hidden; color: rgb(153, 153, 153);"><input id="aktivitet_aprioritet" class="valid" type="text" value="A" style="width: 100%; height: 100%; display: none;" name="aktivitet.aprioritet" data-role="dropdownlist"><BR></span><span class="k-widget k-dropdown k-header" style="width: 100%; height: 100%;" unselectable="on" role="listbox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-owns="aktivitet_ansvarlig_listbox" aria-disabled="false" aria-readonly="false" aria-busy="false" aria-activedescendant="aktivitet_ansvarlig_option_selected"><BR><span class="k-dropdown-wrap k-state-default" unselectable="on" style="color: rgb(153, 153, 153);"><input id="aktivitet_ansvarlig" class="valid" type="text" style="width: 100%; height: 100%; display: none;" name="aktivitet.ansvarlig" data-role="dropdownlist"><BR></span>
<div id="schedulerEventEditor"> <fieldset> <div class="editor-label"> @Html.LabelFor(model => model.Title) </div> <div class="editor-field"> @Html.TextBoxFor(model =>model.Title, new {data_bind ="value: title"}) </div> <div class="editor-label"> @Html.LabelFor(model => model.Description) </div> <div class="editor-field"> @Html.TextAreaFor(model => model.Description, new {rows = 5, cols=24, data_bind ="value: description"}) </div> <div class="editor-label"> @Html.LabelFor(model => model.Start) </div> <div class="editor-field"> <input name="start" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: start,invisible: isAllDay" /> <input name="start" type="text" required data-type="date" data-role="datepicker" data-bind="value: start,visible: isAllDay" /> </div> <div class="editor-label"> @Html.LabelFor(model => model.End) </div> <div class="editor-field"> <input name="end" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: end ,invisible:isAllDay" /> <input name="end" type="text" required data-type="date" data-role="datepicker" data-bind="value: end ,visible:isAllDay" /> </div> <div class="editor-label"> @Html.LabelFor(model => model.IsAllDay) </div> <div class="editor-field"> <input type="checkbox" name="isAllDay" data-type="boolean" data-bind="checked:isAllDay" /> </div> <div class="editor-label"> @Html.LabelFor(model => model.RecurrenceRule) </div> <div class="reoccurenceContainer"> <div class="editor-field"> <div data-bind="value: recurrenceRule" id="recurrenceEditor"></div> </div> </div> </fieldset><script> jQuery(function () { $("\#recurrenceEditor").kendoRecurrenceEditor(); });</script>