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 am using SharePoint Foundation.

I have created 1 Custom List. And entry added directly into that List using my EventReceiver. And EventReceiver is created on my Document Library, which is called when any Document is Add/Update/Delete that entry added into my this CustomList.

Now I want to display Beeper/Alert/Popup in my sharepoint site like in Facebook when any entry added(inserted) into this CustomList.

How it should implement to display it (in bottom left corner of the page) when any of my page is open in my site ?

share|improve this question

2 Answers 2

I would suggest using JavaScript, and the JavaScript Client Object Model in SharePoint. There is the Notifications API - which could show your alert - and you could use it to check your List. I'd then write JavaScript to poll the list for new items.

In terms of putting a reference to that JavaScript into each page, I would suggest a delegate control of some form, adding a JavaScript reference into the 'Additional Page Header' section of your page.

share|improve this answer
    
Thanks Andy. Can you please provide some code part (of JavaScript) ? –  Shahid Nov 2 '12 at 11:51

You have to use SP.UI.Notify.addNotification in Client Object Model, here is an example of different kinds of notifications:

https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/sharepoint-showing-notification-and-status-message-using-sp-js.aspx

share|improve this answer

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.