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 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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.