title: ASP.NET control with MVC's Razor engine
body: <p>I'm using ASP.NET MVC 3 with the Razor template engine for my website. I currently allow files uploads like this:</p>
  
  <pre><code>&lt;form action="/File/Upload" method="post" enctype="multipart/form-data"&gt;
      &lt;label for="file"&gt;Upload a file:&lt;/label&gt;
      &lt;input type="file" name="file" id="file" /&gt; 
      &lt;input type="submit" name="submit" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>But would like to use a 3rd party control such as <a href="http://neatupload.codeplex.com/" rel="nofollow" title="NeatUpload">NeatUpload</a>, which allows a progress bar, multi file selection, etc.</p>
  
  <p>In the documentation, they show the control being used like this:</p>
  
  <pre><code>&lt;%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload"
           Assembly="Brettle.Web.NeatUpload" %&gt;
  &lt;Upload:InputFile id="inputFileId" runat="server" /&gt;
  </code></pre>
  
  <p>with some code-behind.</p>
  
  <p>The Razor engine understandably doesn't like this syntax. Is there another way to use 3rd party controls with it, or am I out of luck?</p>