Hi
Please try like below:
$('#btnPopupDelete').click(function (e) {
var id = 100
DeleteEvent(id)
});
function DeleteEvent(EventID) {
var dataRow = {
'Id': EventID
}
$.ajax({
type: 'POST',
url: "/Calendar/DeleteEvent",
dataType: "json",
contentType: "application/json",
data: JSON.stringify(dataRow)
});
}
Regards
Dominic