Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
var deleteProperty = function (id, propName) {
var grid = $(
"#Grid"
).data(
"kendoGrid"
);
var conDelete = confirm(
"Would you like to delete "
+ propName +
"?"
var propertyId = id;
if
(conDelete ==
true
) {
$.ajax({
type:
"DELETE"
,
url:
"/Property/Delete"
data: {
"id"
: propertyId },
success: function (data) {
alert(data.Message);
grid.dataSource.read();
},
error: function () {
alert(
"There was an error attempting to delete the property."
}
});
};