SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created an event receiver which triggers when an item added to the library.And it is working fine when i am adding items at library level(By clicking upload in ribbon controller of library).But the problem is I had a silver light control on a page and i am uploading item to library through that page. Here while uploading my event receiver code was not working . My code to prevent upload is
properties.Status = SPEventReceiverStatus.CancelWithRedirectURL; The redirection not happening in silverlight control,but it preventing the upload by showing one error message in silverlight pop-up.Any ideas on how to use the event receiver to trigger when using silverlight control (or) how to customize that silverlight pop-up message through javascript?

Any help is much appreciated!

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.