title: Css and Jquery not working properly in dialog
body: <p>It's been days that I am working on this issue, but I don't know how to resolve this. Can anyone help with this?</p>
  
  <p>The problem is that I have two applications, While integrating the application together pages are not working as expected. Individually, they are working fine. </p>
  
  <p>Here comes the problem, I am trying to load the 2nd application page in 1st application Jquery dialog. <strong>Everything is loaded, but the css and jquery are not working</strong>. </p>
  
  <p>A Second application is Asp.net mvc application, there we are returning total html page instead of razor view.</p>
  
  <p>I am attaching the code below.</p>
  
  <pre><code> &lt;div style="display: none; background-color: White; width: 100%; height: 
  90%; border: 0px;
          margin-left: 0px !important; overflow: hidden; background-color: rgb(255, 255, 255);"
          id='approvalRulePopup'&gt;
  
      &lt;/div&gt;
  
  
  $.ajax({
      type: "POST",
      url: pData.URL,
      data: pData,
      dataType: "text",
      timeout: "60000",
      error: function (XMLHttpRequest, textStatus, errorThrown) {
  
          $.unblockUI();
  
          if (textStatus == 'timeout')
              $.prompt(hashtable["consTimeoutError"].toString());
  
          if (textStatus == "error" &amp;&amp; eval(XMLHttpRequest).responseText == "")
              $.prompt(hashtable["consTimeoutError"].toString());
  
      },
      success: function (data) {
          $('#approvalRulePopup').empty();
          $('#approvalRulePopup').html(data);
          $.unblockUI();
      },
      complete: function () {
  
      }
  });
  </code></pre>