Click here to Skip to main content
15,918,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hii friends,
i am using ajax timer control.when i put timer control and button in update panel,when user click the button the button is hiding.

i am using this aspx code
XML
<asp:UpdatePanel ID="UpdatePanel11" runat="server" UpdateMode=Conditional>
       <ContentTemplate>
                           <asp:Timer ID="Timer1" runat="server" Interval="100" Enabled="false" ontick="Timer1_Tick"></asp:Timer>

                          <table id="AllGrids" style="width: 1000px" align="center" runat="server">
                          <tr style="width: 100%">
                         <td style="width: 70%"><asp:Label ID="lblConpanyName" runat="server" Text="Label" CssClass="textbold" Font-Bold="True"></asp:Label></td>
                         <td style="width: 30%; text-align:right;">


                         <asp:ImageButton ID="BtnDownLoad" runat="server" Height="32px"
                           ImageUrl="~/img/download.png"  onclick="BtnDownLoad_Click" OnClientClick="showPopup()"/>


                           </td>
                           </tr>
                           </table>
                            </ContentTemplate>
                         </asp:UpdatePanel>


please share any idea to me.
Posted
Comments
Raajkumar.b 17-Mar-14 3:44am    
in btn_click event you write
button.visible=false;
nandakishoreroyal 17-Mar-14 8:49am    
update the code what you have written in button click event...

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