How can I show a users’ activity count on site title that refreshes automatically like
Facebook, LinkedIn, StackOverflow etc.
e.g. in linkedIn I usually see following title on browser to indicate one new activity updated on linkedIn wall.
(1) Imran Rizvi | Linkedin
I was searching for this question but did not find any solution.
I would if appreciate if anybody could let me know how to do this and with best practice.
You will have to use timer like control which calls a javascript function after a fixed interval like javascript setInterval. In this function you have to send ajax call and get the updates and render the updates with javascript
Here is similar question click
Here is similar functionality could be achieved asp.net ajax toolkit timer control Timer ajax control