title: How to get the HTML from a HelperResult
body: <p>Update : I submitted this as an issue to RazorGenerator on github with a sample visual studio solution as attachment : <a href="https://github.com/RazorGenerator/RazorGenerator/issues/105" rel="nofollow">https://github.com/RazorGenerator/RazorGenerator/issues/105</a></p>
  
  <p>I am using RazorGenrator, making compiled RazorHelpers, returning   HelperResult for Render methds. Documentation for HelperResult says is for internal use only, so why does RazorGenerator returns HelperResult? Calling either ToString or ToHtmlString causes exceptions.</p>
  
  <p>How is rendered contents of HelperResult can become accessible? This is my code</p>
  
  <pre><code>System.Web.WebPages.HelperResult helperResult = CompiledRazorHelpers.MyHelper.Render(TimePickerId, true, model, false);
  </code></pre>
  
  <p>whats the next step for accessing HTML in helperResult ?</p>
  
  <p>Same thing work fine and renders correctly within an MVC project, why?</p>
  
  <pre><code>@CompiledRazorHelpers.MyHelper.Render("WE22", true, model, false);
  </code></pre>