title: get the html file content and send it to page in asp.net mvc
body: <p>I want get a content of html file using C# and the pass those into cshtml view  page. is this possible to do ?</p>
  
  <p>my main requirement is <strong>load a html file into TinyMCE editor content</strong>, which is located at another destination.</p>
  
  <p>but once I explore about <a href="https://stackoverflow.com/questions/33014947/load-html-file-as-initial-content-in-tinymce-editor">this</a> I saw given answers like below</p>
  
  <blockquote>
    <p>You cannot give a path to the setContent function directly. What you need to do is to get the html file contents backendside and send it to your page where you insert it into your editor using the setContent method.</p>
  </blockquote>
  
  <p>but I dont know how to <strong>get the html file content and send it to page in asp.net mvc</strong></p>
  
  <p>However I tried like below to insert html file using jquery </p>
  
  <pre><code>    setup: function(ed) {
      ed.on("init", function(ed) {            
          $.get("myhtml.html", function (content) { 
  
              tinyMCE.activeEditor.setContent(content);
  
          });
  
      })}
  </code></pre>
  
  <p>but this once also not working for me. any suggestion would be highly appreciate  </p>