ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Show alert that can not delete for some rows ?
Title:
B
I
{code}
?
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
Save Changes
Cancel
nutfergie
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
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK