title: Populate Modelpopup with different page(View) in Mvc using jquery
body: <p>I am trying to load a view(not a partial view) inside a Model popup in mvc
  I have 2 .cshtml pages that is View's
  Modelpopup.cshtml and
  loadmodal.cshtml</p>
  
  <p>Modelpopup code</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  $(document).ready(function () {
  
      var $modal = $('#load_popup_modal_show_id');
      $('#click_to_load_modal_popup').on('click', function () {
  
           $modal.load("@Url.Action("Loadmodel", "ToolManager")", function() {
               $modal.modal('show');
           });   
  
      });
  
  });
  </code></pre>
  
  <p></p>
  
  
  
  
      Open Popup Modal
  
  
  <p>loadmodal code</p>
  
  <pre><code>&lt;div id="load_popup_modal_contant" class="" role="dialog"&gt;
  
  &lt;div class="modal-dialog modal-md"&gt;
  
  
  
      &lt;form role="form" class="form-inline" role="form" id="form_load_content_id"&gt;
  
          &lt;!-- Start: Modal content--&gt;
  
          &lt;div class="modal-content"&gt;
  
              &lt;div class="modal-header"&gt;
  
                  &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
  
                  &lt;h4 class="modal-title"&gt;Show Popup Title Here&lt;/h4&gt;
  
              &lt;/div&gt;
  
              &lt;div id="validation-error"&gt;&lt;/div&gt;
  
              &lt;div class="cl"&gt;&lt;/div&gt;
  
              &lt;div class="modal-body"&gt;
  
                  &lt;h3&gt; Modal Popup content Here&lt;/h3&gt;
  
              &lt;/div&gt;
  
              &lt;div class="modal-footer"&gt;
  
  
  
                  &lt;input name="submit_popup" id="submit_popup" type="button" value="SUBMIT" class="btn btn-primary" /&gt;
  
                  &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/form&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to load loadmodal.cshtml into a popup how can i do this using above code or by any other way, i do not want to use partial view</p>
  
  <p>my controller code</p>
  
  <pre><code> [HttpGet]
      public ActionResult Modelpopup()
      {
          return View();
      }
      [HttpGet]
      public ActionResult loadmodal()
      {
          return View();
      }
  </code></pre>