Dynamically set value of onClientClick
<p>I have a DataGrid template that correctly outputs a picture of a phone in each of my rows. When the user clicks the phone, I would like to display the phone number to the user, either through an alert box or through a jquery dialog. </p>

<p>I currently have:</p>

<pre><code>&lt;asp:ImageButton runat="server" ImageUrl="~/img/Phone.jpg"
 ID="imgDist_Phone" 
 OnClientClick="
    alertPhoneNumber('&lt;%# DataBinder.Eval(Container.DataItem, "PhoneNumber") %&gt;')
 " /&gt;
</code></pre>

<p>Obviously this doesn't work because it outputs <code>&lt;%# DataBinder</code> literally. </p>

<p>What is the best way to generate the onClick event dynamically, so that I don't have to postBack to the server?</p>
