title: RegisterStartupScript only working part of the time
body: <p>I have a method that pulls html from a webservice and displays this info in a series of popup windows. To achieve this I wrote a javascript to create the popup:</p>
  
  <pre><code>function dynamicPopup(title, HTMLstring) {
      newWindow = window.open();
      newDocument = newWindow.document;
      newDocument.write(HTMLstring);
      newDocument.title = title;
  };
  </code></pre>
  
  <p>The I loop through the results calling the following for every object returned from the webservice.</p>
  
  <pre><code>Page.ClientScript.RegisterStartupScript(this.GetType(), DateTime.Now.ToString(), resultMessage, true);
  </code></pre>
  
  <p>The problem is that it works when only a few popups are returned but if 15 are returned then only about 8-10 of them are displayed. </p>
  
  <p>As a bandage I added a Wait after RegisterStartupScript and that seems to work well but results in slower delivery times. Does anyone know any other way to address this issue?</p>