Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have written an event handler using ItemDeleting event , instead of showing default error page when user try to delete a document from document Library I want to show a warning message in Pop-up box ( Javascript)..

Regards Ash..

share|improve this question

2 Answers 2

It is in SP2007 event handlers not possible to open a dialog or redirect users to another page! SP2010 has improved the object model with the RedirectUrl property to allow event handlers to redirect users to another page. But to my knowledge it is still not possible to open a dialog from an event handler.

share|improve this answer

You can use Application pages for custom Error page

share|improve this answer
    
While this post may answer the question, we prefer more details such as "why". Please edit your post with additional details. See answer for general guidelines. Thanks. –  SPDoctor Nov 24 '11 at 9:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.