title: Launching Client Email with ASP value with LinkButton
body: <p>This one has been giving me trouble all morning and I hope someone with more ASP knowledge can help me!  I didn't build this app, I inherited it and it was built in .NET 2.0.</p>
  
  <p>I'm upgrading an app that generated a list of href=mailto.  Now it needs to run some C# code so I started recreating these as linkButtons.  I was following this article <a href="https://stackoverflow.com/questions/2804384/how-to-launching-email-client-on-linkbutton-click-event?lq=1">How to launching email client on LinkButton click event?</a> but I have one more step.</p>
  
  <pre><code>&lt;asp:Repeater DataSourceID="sdsUserList" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;li&gt;
              &lt;asp:LinkButton ID="lbEmail" runat="server" Text='&lt;%# Eval("UserName") %&gt;' OnClientClick="window.open('mailto:&lt;%# Eval("UserEmail") %&gt;', 'email')" OnClick="lblEmail_Click" /&gt;
          &lt;/li&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>I need the OnClientClick to simply open up a new email to send to the User.  I've monkeyed around with the quotes but the error I am getting is "The server tag is not well formed".</p>