Hi,
Below is my code in which URL is not routing to Controller page.Here domain is my local system URL.there is a div tag with id = detailId.trim() (detailID value is dynamically created while loading the web page).Can someone help me here.
function detailInit(e) {
var detailRow = e.detailRow;
var detailId = detailRow.find(".catNumber").text();
var dataSource1 = new kendo.data.DataSource({
transport: {
read: {
url: domain + "Ethno/GetMediaMetaData",
data: { id: '' + detailId.toString() },
dataType: "json"
}
},
parameterMap: function (options) {
return kendo.stringify(options);
}
});
$("#detailListView_" + detailId.trim()).kendoListView({
dataSource: dataSource1,
template: kendo.template($("#detailMediaTemplate").html()),
selectable: true,
change: onChange
});
}