Hi all, I have a gridview which always gets updated with a timer.
Inside the gridview i use a hyperlink to show a pop up. The problem is, when I click the hyperlink, the pop up turns to be updated as well.
I am thinking now how to stop the timer together with showing the pop up when i click the hyperlink inside my gridview?

Here is my code :

<form id="form1" runat="server">
<div>

<asp:ToolkitScriptManager ID="ScriptManagerAlarm" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

<asp:Timer ID="AlarmTimer" runat="server" Interval="3600" ontick="AlarmTimer_Tick"></asp:Timer>

<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1" OnRowDataBound="GridView2_RowDataBound"
CssClass=GridviewCSS>

<Columns>
<asp:TemplateField>
<HeaderStyle CssClass=showAlarm BackColor="Gray"/>
<ItemStyle CssClass=showAlarm />
<HeaderTemplate>Description</HeaderTemplate>
<ItemTemplate>
<asp:HyperLink ID="Hyperlink1" runat="server" Text='<%# Bind("Description") %>' > // I would like to stop the TIMER and show the pop up when i click here!!
</asp:HyperLink>
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Hyperlink1" PopupControlID="panPopUp" BackgroundCssClass="modalBackground">
</asp:ModalPopupExtender>
</ItemTemplate>
</asp:TemplateField>

</Columns>
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>

//This is my panel for the pop up
<asp:Panel ID="panPopUp" runat="server" Style="background-color:Black">
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<h2 style="color:white;text-align: center;">Buttons Function</h2>
<asp:Button ID=Accept runat=server />
<asp:Button ID=Revoke runat=server />
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>

Every answers would be very appreciated!