title: asp.net timer not firing the updatepanel
body: <p>I have a table within my aspx page content page (using a Master Page also)
  The problem is the Timer doesn't seem to be doing the async postback it doesnt even hit the method
  I've tried a fresh solution in VS with the below code and it works fine every 10 seconds the event updatepanel is refreshed.  So I believe the code is fine but there's something stopping this from working and I can't figure what.</p>
  
  <pre><code>   &lt;div class="row" &gt;
  
  
                      &lt;div class="col-md-3"&gt;
  
                          &lt;asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server"&gt;
                              &lt;asp:Triggers&gt;
                                  &lt;asp:AsyncPostBackTrigger ControlID="TimerPrayer"&gt;&lt;/asp:AsyncPostBackTrigger&gt;
  
                              &lt;/asp:Triggers&gt;
  
                              &lt;ContentTemplate&gt;
                                  &lt;table id="tblPrayerTimes" class="table-condensed"&gt;
                                      &lt;tr&gt;
                                          &lt;th colspan="3"&gt;
  
                                              &lt;asp:Label ID="LblPrayer" runat="server" CssClass="prayerTimeHeaderscss" Text="Prayer Time"&gt;&lt;/asp:Label&gt;
                                          &lt;/th&gt;
                                          &lt;th colspan="1"&gt;
                                              &lt;asp:Label ID="lblJammat" runat="server" CssClass="prayerTimeHeaderscss" Text="Jamaat Time"&gt;&lt;/asp:Label&gt;
                                          &lt;/th&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;&lt;/td&gt;
  
                                          &lt;th&gt;
                                              &lt;asp:Label ID="lblToday" runat="server" CssClass="prayerlabeltodaytomorrowcss" Text="Today"&gt;&lt;/asp:Label&gt;
                                          &lt;/th&gt;
  
                                          &lt;th&gt;
                                              &lt;asp:Label ID="lblTomorrow" runat="server" CssClass="prayerlabeltodaytomorrowcss" Text="Tomorrow"&gt;&lt;/asp:Label&gt;
                                          &lt;/th&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblFajr" runat="server" CssClass="prayerLabelscss" Text="Fajr"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lblbegFajrTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lbltmrwFajrTime" runat="server" CssClass="prayerTimeTmrwcss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td id="tdfajrJamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtFajrJamaat" runat="server" Text="00:00" onmousedown="displayPicker('Fajr','tdfajrJamaatbox');" MaxLength="5" CssClass="prayerTimeJamaat"&gt;&lt;/asp:TextBox&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblSunrise" runat="server" CssClass="prayerLabelscss" Text="Sunrise"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lblbegSunRiseTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lbltmrwSunriseTime" runat="server" CssClass="prayerTimeTmrwcss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblDkubra" runat="server" CssClass="prayerLabelscss" Text="Dahawa Kubra"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblDkubraTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;&lt;/td&gt;
                                          &lt;td id="td1" style="text-align: center"&gt;&lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblDhuhr" runat="server" CssClass="prayerLabelscss" Text="Dhuhr"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lblbegDhuhrTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
  
  
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lbltmrwDhuhrTime" runat="server" CssClass="prayerTimeTmrwcss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td id="tddhuhrJamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtDhuhrJamaat" runat="server" CssClass="prayerTimeJamaat" Text="00:00" onmousedown="displayPicker('Dhuhr','tddhuhrJamaatbox');" MaxLength="5"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblAsr" runat="server" CssClass="prayerLabelscss" Text="Asr"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lblbegAsrTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lbltmrwAsrTime" runat="server" CssClass="prayerTimeTmrwcss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td id="tdasrJamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtAsrJamaat" runat="server" CssClass="prayerTimeJamaat" Text="00:00" onmousedown="displayPicker('Asr','tdasrJamaatbox');" MaxLength="5"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblMaghrib" runat="server" CssClass="prayerLabelscss" Text="Maghrib"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lblbegMaghribTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lbltmrwMaghrib" runat="server" CssClass="prayerTimeTmrwcss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td id="tdmaghribJamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtMaghribJamaat" runat="server" CssClass="prayerTimeJamaat" Text="00:00" onmousedown="displayPicker('Maghrib','tdmaghribJamaatbox');" MaxLength="5"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblIsha" runat="server" CssClass="prayerLabelscss" Text="Isha"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lblbegIshaTime" runat="server" CssClass="prayerTimescss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td style="text-align: center"&gt;
                                              &lt;asp:Label ID="lbltmrwIshaTime" runat="server" CssClass="prayerTimeTmrwcss" Text="00:00"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td id="tdishaJamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtIshaJamaat" runat="server" CssClass="prayerTimeJamaat" Text="00:00" onmousedown="displayPicker('Isha','tdishaJamaatbox');" MaxLength="5"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
  
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblJamaat" runat="server" CssClass="prayerLabelscss" Text="Jummah 1"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td&gt;&lt;/td&gt;
                                          &lt;td&gt;&lt;/td&gt;
                                          &lt;td id="tdjummah1Jamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtJummah1Jamaat" runat="server" CssClass="prayerTimeJamaat" Text="13:30" onmousedown="displayPicker('Jummah1','tdjummah1Jamaatbox');" MaxLength="5"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/td&gt;
  
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td&gt;
                                              &lt;asp:Label ID="lblJummah2" runat="server" CssClass="prayerLabelscss" Text="Jummah 2"&gt;&lt;/asp:Label&gt;
                                          &lt;/td&gt;
                                          &lt;td&gt;&lt;/td&gt;
                                          &lt;td&gt;&lt;/td&gt;
                                          &lt;td id="tdjummah2Jamaatbox" style="text-align: center"&gt;
                                              &lt;asp:TextBox ID="txtJummah2Jamaat" runat="server" CssClass="prayerTimeJamaat" Text="13:30" onmousedown="displayPicker('Jummah2','tdjummah2Jamaatbox');" MaxLength="5"&gt;&lt;/asp:TextBox&gt;
                                          &lt;/td&gt;
  
                                      &lt;/tr&gt;
  
                                      &lt;tr&gt;
                                          &lt;td colspan="4"&gt;
                                              &lt;asp:Button ID="btnRadioStatus" OnClick="btnRadioStatus_Click" runat="server" Enabled="false" CssClass="cssRadioStatus"
                                                  Text="Button" /&gt;
  
                                          &lt;/td&gt;
  
  
                                      &lt;/tr&gt;
  
                                  &lt;/table&gt;
                                  &lt;/ContentTemplate&gt;
                              &lt;/asp:UpdatePanel&gt;
  
  
  
                          &lt;asp:Timer ID="TimerPrayer" runat="server" OnTick="TimerPrayer_Tick" Interval="10000"&gt;&lt;/asp:Timer&gt;
  
  
                      &lt;/div&gt;
  </code></pre>
  
  <p>code behind</p>
  
  <pre><code>protected void TimerPrayer_Tick(object sender, EventArgs e)
  {
      ReadMyData();
  
  }
  </code></pre>