title: open multiple popup windows in javascript via asp.net
body: <p>I've got an sql datareader that has a bunch of paths in it.
  I need to open up multiple pop up windows / multiple tabs on the browser.
  So I tried looping through my datareader and doing a ClientScript.RegisterStartupScript
  but after the code completes nothing opens up...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>While r.Read()
              ClientScript.RegisterStartupScript(Me.GetType, "popup" + counter.ToString(), "window.open('" + CType(r("AttachmentLink"), String) + "','_blank' + new Date().getTime(),'menubar=no')", True)
              counter += 1
          End While
  </code></pre>
  
  <p>I put a watch in and my reader does contain the data I want, but no popup window opens :(.</p>
  
  <h1>edit</h1>
  
  <p>Here is some sample data that is in the AttachmentLink column of my database:</p>
  
  <pre><code>\\myserver\myfolder\1.pdf
  \\myserver\myfolder\mydoc.doc
  \\myserver\myfolder\myimage.jpg
  </code></pre>
  
  <p>The actual link is to a local file server stored on our network...</p>