title: Hyperlink onclick in RadGrid
body: <p>So, I have a Radgrid and multiple controls in it. One of the functionality is to open a PDF once you click on a hyperlink and at the same time insert that clicked value in the database.
  I was successful to open a PDF but I am not sure how do I insert this value in the db as I have already used "OnClick" event to open popup window for PDF. Can somebody please guide me in the right way? I have a method with a parameter that inserts the value but how do I call this method when clicked on the hyperlink?</p>
  
  <pre><code>  &lt;telerik:GridTemplateColumn UniqueName="GenerateAOC"&gt;
      &lt;ItemTemplate&gt;
       &lt;asp:HyperLink ID="hlGenerateAOC" datanavigateurlfields="ShipmentNumber" Target="AOPLetter" runat="server" DatatextField="ShipmentNumber" Text="GenerateAOC" NavigateUrl='&lt;%# "AdHocAOC.aspx?ShipmentNumber="+Eval("ShipmentNumber")%&gt;' onclick="window.open (this.href, 'AOPLetter', 'height=700,width=700,scrollbars');"&gt;
      &lt;/asp:HyperLink&gt;
      &lt;/ItemTemplate&gt;
      &lt;/telerik:GridTemplateColumn&gt;  
  </code></pre>