Popups in asp.net
5 answers
Below are the steps to achieve what you want.
- You have a div (container) to show your updates.
- Create window window.setTimeout to execute JS function (AJAX)
- In this function, check for updates from the server
- Finally, if there are any updates, show them in the container div
- When there are updates, again setTimeout makes it invisible for a specified period of time (say 3 seconds)
To achieve this very easily, use JS libraries like JQuery.
NTN
+2
a source to share