or
@(Html.Kendo().Grid<SearchViewModel>() .Name("searchGrid") .Columns(columns => { columns.Bound(x => x.ProductId); columns.Bound(x => x.ProductName); }) .AutoBind(false) .DataSource(ds => ds .Ajax() .Read(read => read.Action("Search", "Product").Data("getSearchCriteria")) ) ))function getSearchCriteria() { var product = $("#ProductName").data("kendoAutoComplete").value(); var productType = $("#ProductType").data("kendoDropDownList").select(); if (product || productType) { return { ProductName: product, ProductType: productType }; } else { // TODO: Figure out how to cancel this request. alert("You must provide at least one search parameter."); return false; }}

function moveTo(from, to) { for (var i in checkedIds) { var isFound = to.dataSource.get(checkedIds[i]); if (checkedIds[i] != "") { if (isFound == undefined) { // Set 'From' Datasource to the correct page var ItemIdx = i % from.dataSource.pageSize(); var PageNb = ((i - (ItemIdx)) / from.dataSource.pageSize()) + 1; //alert("Item: " + ItemIdx + " Page: " + PageNb); from.dataSource.page(PageNb); var view = from.dataSource.view(); var item = view[ItemIdx]; to.dataSource.add(item); } } }}