or
$(".jobLocationLink").live('click', function () { currentJobId = $(this).data("id"); var parentGrid = $(this).data("parentGrid"); var title = $(this).attr("title"); var href = "../ModalWindows/JobLocationNotes.aspx?jobId=" + currentJobId; var myWin = $("#jobLocationWindow") if (!myWin.data("kendoWindow")) { // window not yet initialized myWin.kendoWindow({ content: href, center: true, title: "Job Location History", iframe: true, width: "800px", height: "400px", scrollable: false }); } else { // reopening window myWin.data("kendoWindow") .refresh(href) // request the URL via AJAX .open() // open the window .center(); } });{ field: "LoanStatus_ID", editor: loanStatusEditor, template: "#=LoanStatus#", title: "Status this Month"},function loanStatusEditor (container, options) { $('<input name="'+ options.field + '"/>') .appendTo(container) .kendoDropDownList({ change: function() { }, dataTextField: "LoanStatus", dataValueField: "LoanStatus_ID", dataSource: { type: "json", transport: { read: { url: "@Url.Content("~/LoanBalance/LoanStatusDropDown")" } } } }); }
<WebGet()> _Public Function Search(price As Integer) As IQueryable(Of tblCustomers) Dim context As OnlmCRMEntities = Me.CurrentDataSource Try Dim customers = From c In context.tblCustomers Where c.fldActive = True _ And c.tblCustomerProducts.Any(Function(s) s.fldPrice = price And s.fldActive = True) Order By c.fldEmail Select c Return customers Catch ex As Exception Throw New ApplicationException("An error occurred: {0}", ex) End TryEnd FunctiondataSource: { type: "odata", transport: { read: pathname + "/model/WcfData.svc/Search?price=6000" }, pageSize: 20, serverPaging: true, serverFiltering: true, serverSorting: true }