title: HTTP 404 Error after encoding Url
body: <p>When I use HttpUtility.UrlEncode to encode a Url I end up getting a server error.</p>
  
  <p>ASP.Net code: </p>
  
  <pre><code>NavigateUrl=&lt;%# HttpUtility.UrlEncode(string.Concat("UpdateMember.aspx","?groupId=", DataBinder.Eval(Container.DataItem, "GroupID").ToString())) %&gt; 
  </code></pre>
  
  <p>Url:     </p>
  
  <pre><code>http://localhost/UITest/MM/UpdateMember.aspx%3fgroupId%3d0032409901
  </code></pre>
  
  <p>which results in "HTTP Error 404.0 - Not Found
  The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."</p>
  
  <p>However using:</p>
  
  <pre><code>NavigateUrl=&lt;%# string.Concat("UpdateMember.aspx","?groupId=", DataBinder.Eval(Container.DataItem, "GroupID").ToString()) %&gt; 
  </code></pre>
  
  <p>results in the Url: </p>
  
  <pre><code>http://localhost/UITest/MM/UpdateMember.aspx?groupId=0032409901
  </code></pre>
  
  <p>which works out fine. Am I doing something incorrectly?</p>