In that case you have to use Kendo Dialog Box...!!!
First Create a Dialog Box using Below Code:
var win = $("#window").kendoWindow({
actions: ["Close"],
draggable: false,
height: "180px",
modal: true,
title: "Assign New Password",
visible: false,
width: "350px"
}).data("kendoWindow");
win.center();
win.open();
$("#txtPassword").val('');
}
Create
design your dropdown here
this is way of binding drop down:
keep your dropdown value in ViewBag like below:
var operatorData = '@ViewBag.Operators';
operatorData = replaceQuotes(operatorData);
var objJSON = $.parseJSON(operatorData);
function PopulateDropdownlist() {
$.each(objJSON, function (i, item) {
$('#ddlOperator').append($('<option>', {
value: item.OperatorId,
text: item.OperatorCode + '/' + item.OperatorName
}));
});
}