views:

186

answers:

1

when i using ajax control but control tick every 1 secound and when i click other control the control not focus in selection my control when timer tick

A: 

That particular timer must be placed inside the update panel.

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
  <ContentTemplate>
   <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
   <asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">
   </asp:Timer>
  </ContentTemplate>
</asp:UpdatePanel>
adatapost