ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
call an access denied alert in grid crud when clicking delete on some rows
Title:
B
I
{code}
?
hi, I want to call an access denied alert before the delete action. then if access allowed call delete
Save Changes
Cancel
Leonel Jaime
asked at 11 Jun 2019
Answers
B
I
{code}
?
we have something similar in our demo, but first turn off signalr (remove the js file, or the `.Attr("data-syncg", "dinner")` from the grid), after you can try to open a grid crud demo page in 2 tabs and remove one item after try to remove the same item in the other tab, the application will throw and you'll get a notification (similar to access denied) so basically using the setup code from our demo, which you are likely using, it's enough to just throw an exception
Save Changes
Cancel
o
answered at 12 Jun 2019
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