title: SPGridView Filter menu shown separated of LinkButton with templated header
body: <p>I use Microsoft.SharePoint.WebControls.SPGridView control to write out data.
  Filtering is allowed for grid.
  Columns contain templated column, it define ItemTemplate and HeaderTemplate:</p>
  
  <pre><code>&lt;Columns&gt;
     &lt;asp:TemplateField&gt;
        &lt;HeaderTemplate&gt;
             &lt;asp:LinkButton ID="linkTitleHeader" runat="server" Text="TitleHeader1"
                 CommandName="Sort" CommandArgument="Title"&gt;&lt;/asp:LinkButton&gt;
        &lt;/HeaderTemplate&gt;
  
        &lt;ItemTemplate&gt;                   
               &lt;a href="some javascript"&gt;some text&lt;/a&gt;
        &lt;/ItemTemplate&gt;
      &lt;/asp:TemplateField&gt;
  &lt;/Columns&gt; 
  </code></pre>
  
  <p>It works fine, shows header as link, its performs sorting by click, but filter menu 
  show on separate row:</p>
  
  <p><img src="https://i.stack.imgur.com/xLGvh.jpg" alt="a">   </p>
  
  <p>i expect that it shows as:</p>
  
  <p><img src="https://i.stack.imgur.com/j3fI9.jpg" alt="a"></p>
  
  <p>I already try with no result:</p>
  
  <ol>
  <li>Leave Text property empty and define other properties</li>
  <li>Set Microsoft.Sharepoint.WebControls.Menu Text programmaticaly after
  databind </li>
  <li>Set link text by javascript</li>
  </ol>
  
  <p>Have any ideas how to join Menu with LinkButton ? Thanks.</p>