TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohammad Aman
Tech Writer
327
72.2k
How to implement notification on Master Page Like Facebook
Sep 17 2015 7:45 AM
I am implementing Notification like facebook on my master page by using UpdatePanel and Timer But it is updating whole web application. Any one can tell me how may i prevent it for updating all other controls. My Code is:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
<ContentTemplate>
<asp:DataList ID="DataList_Notification" runat="server" OnItemCommand="DataList_Notification_ItemCommand">
<ItemTemplate>
<table>
<tr>
<td>
<asp:HiddenField ID="ProductId" runat="server" Value='<%# Eval("ProductId") %>' />
</td>
<td>
<asp:HiddenField ID="OperationId" runat="server" Value='<%# Eval("OperationId") %>' />
</td>
<td>
<asp:HiddenField ID="ProficiencyId" runat="server" Value='<%# Eval("ProficiencyId") %>' />
</td>
<td>
<span class="label label-important"><i class="icon-bolt"></i></span>
<asp:LinkButton ID="lbnNotification" runat="server" Text='<%# Eval("PriceProficiency") %>' CommandName="Notification" ></asp:LinkButton>
<span class="small italic"></span>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
</asp:UpdatePanel>
<asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="9000000" ></asp:Timer>
Reply
Answers (
1
)
What happen with my codes???
Angular js