Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,

In my website 10 members are logged in. If any one members is add or edit the value those changes notification should be send notification to all logged in users as a label. Same like face book, when user leaves the comments about one person the message will be display to appropriate user. same action i need. how to do?
Posted
Updated 2-Jan-12 8:19am
v2

If u r having a masterpage then this will be very effective to do the task....

u can have a timer control in page

XML
<asp:Timer ID="Timer1" runat="server" Interval="15000">
                                      </asp:Timer>




and later u can trigger a section of a page with this timer



XML
<asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Always">
                                                                   <ContentTemplate>

                                                 <b>U can put ur method over here to do the work.................</b>
                                                                   </ContentTemplate>
                                                                   <Triggers>
                                                                       <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
                                                                   </Triggers>
                                                               </asp:UpdatePanel>
 
Share this answer
 
By using a timer, you can do a partial update of your page say every 30 seconds. jquery might be useful for partial update.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900