title: Telerik RadGrid Does NOT select Row on LEFT CLICK when the cell value is a link
body: <p><img src="https://i.stack.imgur.com/4pR7M.jpg" alt="The Grid Cell That Contains a Link"></p>
  
  <p>I have custom columns in my <strong>telerik rad grid for Asp.net</strong> and some of those display links (A href='...').</p>
  
  <p><em>links work fine.</em></p>
  
  <p>the <strong>PROBLEM</strong> is that the grid <strong>DOES NOT <em>SELECT</em> the ROW</strong> of the cell that I clicked <strong>ONLY when</strong> I click on a cell that has a link (rather than plain text).</p>
  
  <p>normally the grid <strong>DOES SELECT</strong> the row without any trouble when a user clicks on a <strong>regular cell</strong>.</p>
  
  <p>this only happens when the cell content is a link.</p>
  
  <p>any idea to get around this? please.</p>
  
  <p>Code:</p>
  
  <p>1 - The link behind the link (that goes into the grid cell)</p>
  
  <pre><code>&lt;a href="#" onclick="commandManager(event, otherParameters);"&gt;Cotgrave&lt;/a&gt;
  </code></pre>
  
  <p>2 - The code that's invoked.</p>
  
  <pre><code>    function commandManager(clickEventArgs, PARAMS)
      {
         $.each(PARAMS, function(key, value) { PARAMS[key].sourceItem = clickEventArgs.target; });  // NOT RELATED TO THIS ISSUE
  
         if(PARAMS.length == 1)
         {
            // NOT RELATED TO THIS ISSUE
         }
         else if(PARAMS.length&gt;1)
         {
             showMenu(clickEventArgs, PARAMS);  &lt;&lt;- THIS IS WHERE OUR CASE FOLLOWS
         }
         else
         {
            // NOT RELATED TO THIS ISSUE
         }
      }
  </code></pre>
  
  <p>3 - Show menu function</p>
  
  <pre><code>    function showMenu(e, PARAMS) 
      {  
          if ((!e.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), e.relatedTarget))) 
          {
              var contextMenu = $find("&lt;%= RadContextMenu1.ClientID %&gt;");
  
              contextMenu.get_items().clear();
              for(i=0; i &lt; PARAMS.length; i++)
              {
                  var childItem = new Telerik.Web.UI.RadMenuItem();
                  childItem.set_text(PARAMS[i].title);
                  childItem.PARAM=PARAMS[i];
                  contextMenu.get_items().add(childItem);
              }
  
              contextMenu.show(e);
          }
      }
  </code></pre>
  
  <p>Grid Markup</p>
  
  <pre><code>&lt;telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource"
      Skin="Default" AutoGenerateColumns="false" AllowMultiRowSelection="true" OnItemDataBound="RadGrid1_ItemDataBound"&gt;
      &lt;ClientSettings EnableRowHoverStyle="true"&gt;
          &lt;Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="10px" /&gt;
          &lt;Selecting AllowRowSelect="true" /&gt;
          &lt;ClientEvents OnGridCreated="GridCreated" OnRowClick="RowClicked" OnRowSelected="RowSelectionChanged" OnRowDeselected="RowSelectionChanged"&gt;&lt;/ClientEvents&gt;
      &lt;/ClientSettings&gt;
      &lt;MasterTableView AllowPaging="true"&gt;
          &lt;PagerStyle AlwaysVisible="true" /&gt;
      &lt;/MasterTableView&gt;
  &lt;/telerik:RadGrid&gt;
  </code></pre>
  
  <p><strong>Please let me remind that this code "WORKS FINE" The only problem is that the grid doesnt SELECT the row when the cell content is a link.</strong></p>