1
votes

i am developing a webpart. here i have some n number of configurations in webpart's properties. Using that configuration the webpart will show some output. The configuration will take more time to complete, so when the user delete the webpart i need to ask confirmation from the end user. How can i do it.

1

1 Answers

2
votes

You can subscribe to WebPartDeleting event of SPWebPartManager in the master page and write your custom code to check the configurations there.