or
$("#myGrid").data("kendoGrid") .dataSource.transport.parameterMap = function (data, operation) { return $.extend(data, { myCustomData: true //Actually client-side calculated data, not static }); };
[Display(Name = "Owner Id")][UIHint("CustomersAllDDLEditor")]public Nullable<int> OwnerId { get; set; }public class ItemViewModel { public Item Item { get; set; } public ItemOptionsViewModel DDLOptions { get; set; } public AuditStampsViewModel AuditStamps { get; set; } }@(Html.Kendo().DropDownList() .Name("Item.OwnerId") .DataValueField("Id") .DataTextField("DisplayName") //.BindTo(Model.DDLOptions.CustomerOptions) .BindTo((System.Collections.IEnumerable)ViewData["customers"]) .OptionLabel(" ") .Template("#= data.DisplayName.replace(' ', ' ') #"))@Html.EditorFor(model => model.Item.OwnerId)<input data-val="true" data-val-number="The field Owner Id must be a number." id="Item_OwnerId" name="Item.OwnerId" type="text" value="3" class="k-input valid" data-role="dropdownlist" style="display: none;"><input id="Item_OwnerId" name="Item.OwnerId" type="text" class="k-input valid" data-role="dropdownlist" style="display: none;">