or
SearchData.dataSourceTemplate = { type:"json", transport:{ read:{ url:"http://localhost:4326/mTypes", dataType:"json" } }, schema:{ data:"results", total:"count" }, error:function (e) { alert("Search.js datasource error: " + "\nthrew: " + e.errorThrown + "\nstatus: " + e.status + "\nurl: " + e.sender.transport.options.read.url); }};Invalid web service call, missing value for parameter: \u0027ageGroupID\u0027.
var miniMiteAgeID = { 'ageGroupID': "11" };read: { url: "AssociationStats.aspx/getPlayerInfo", //specify the URL which data should return the records. This is the Read method of the Products.asmx service. contentType: "application/json; charset=utf-8", // tells the web method to serialize JSON dataType: "json", data: JSON.stringify(miniMiteAgeID), type: "POST" //use HTTP POST request as the default GET is not allowed for web methods },[WebMethod]public static IEnumerable<teamPlayers> getPlayerInfo(string ageGroupID){ //Do a bunch of stuff}function dolgozoDropDownEditor(container, options) { $('<input data-text-field="nev" data-value-field="nev" data-bind="value:' + options.field + '"/>') .appendTo(container) .kendoDropDownList({ autoBind: false, dataSource: dolgozodata, change: function () { options.model.dszam = 100; // Here I need this.dataitem.id or something like this } }); }