title: How to open a file by clicking on HyperLink
body: <p>I have this table</p>
  
  <p><img src="https://i.stack.imgur.com/AaLb5.jpg" alt="enter image description here"></p>
  
  <p>I want to click on the link and the file (whatever file) will be opened in a new pop-up window.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;asp:Repeater ID="dokumente" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;asp:HyperLink ID="HyperLink4" runat="server" Text='&lt;%# Eval("DokuTyp") %&gt;' NavigateUrl='file://&lt;%# Eval("File") %&gt;'&gt;&lt;/asp:HyperLink&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%# Eval("Description")%&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%# Eval("Date") %&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%# Eval("File") %&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>But it doesn't work with NavigateUrl. Can anyone help me on this or any idea how to do this. Thanks</p>