title: opening a link in a new window
body: <p>I need to open the link in the link button in a new window. I have the  below code but  it throws javascript error. Please help</p>
  
  <p>aspx code:</p>
  
  <pre><code>&lt;asp:LinkButton ID="Link" runat="server" CssClass="ReadOnlyLabel" 
                          CausesValidationn="false" OnClick="Link_Click"/&gt;
  </code></pre>
  
  <p>code behind</p>
  
  <pre><code>protected void Link_Click(object sender, EventArgs e)
  {
     ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", 
                        "window.open(" + Link.Text + " ,'new_tab');", true);
  }
  </code></pre>