Show alert that can not delete for some rows ?
from http://demo.aspnetawesome.com/MasterDetailCrudDemo when press delete button if restaurant have address 1 , adress 2 -- > cannot delete --> alert message if restaurant have no address -- > can delete
asked at 03 Feb 2017
you could return a script that closes this popup and opens another one or just an alert; or you could return a json object and the popup will close, and the success function will read that object and determine that it needs to show the popup; it really depends on when you want to show that popup, when you click the delete button, or when you click the ok button in the delete popup
at 09 Feb 2017
to leave an answer