title: RegisterStartupScript doesn't work with ScriptManager,Updatepanel. Why is that?
body: <pre><code>protected void timer1_Tick(object sender, EventArgs e)
      {
          foreach (RepeaterItem item in rpChat.Items)
          {
              TextBox txt = item.FindControl("txtChatMessage") as TextBox;
              if (txt != null)
              {
                  message[i] = txt.Text;
                  i--;
              }
          }
          lblStatusChat.Text = "";
          RepeaterBind();
          string javaScript = "&lt;script language=JavaScript&gt;\n" + "alert('Button1_Click client-side');\n" + "&lt;/script&gt;";
  
          Page.ClientScript.RegisterStartupScript(this.GetType(), "myKey", javaScript);
      }
  </code></pre>
  
  <p><code>timer_click</code> trigggers and update panel. And the alert message doesnt show up on timer_tick event</p>