title: HyperLink with NavigateUrl with Eval(). Where is the mistake?
body: <p>First I was changing <code>HyperLink.NavigateUrl</code> in code-behind on <code>Page_Load()</code>.</p>
  
  <p>But after I decided to do it in design using <code>Eval()</code> method.</p>
  
  <pre><code>&lt;asp:HyperLink runat="server"
       NavigateUrl='&lt;%# String.Format("~/Refuse.aspx?type={0}&amp;id={1}", Eval("type"), Eval("id")) %&gt;' Text="Refuse" /&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;asp:HyperLink ID="urlRefuse" runat="server"
       NavigateUrl='&lt;%# String.Format("~/Refuse.aspx?type={0}&amp;id={1}", Request["type"], Request["id"]) %&gt;' Text="Refuse" /&gt;
  </code></pre>
  
  <p>where <code>id</code> and <code>type</code> - are variables from <code>Request</code>.</p>
  
  <p>But it doesn't work. Only raw text 'Refuse' is shown. Where is my mistake? Thanks in advance.</p>