title: ASP.NET MVC Render Partial View via Button click not render Bootstrap-select
body: <p>I'm relatively new in .Net MVC and Jquery/CSS and those things. </p>
  
  <p>I'm developing a function that when i click in a button it is displayed a partial View. I Dont want it to be rendered when the page loads, jsut when i click the button. That action i already have working, my problem is related with the library Bootstrap-Select and the style aplying to components showed in the partial view. </p>
  
  <p>I'm performing this action with the next snippet:</p>
  
  <pre><code>$("#btn-create-new").on("click", function () {
          $('#myTabs a[href="#new-product-form-create-new"]').tab('show');
          //var tab_content_height = $('.modal-new-product-form').height() - $('#myTabs').height();
          //$('.tab-content').height(tab_content_height);
  
          $("#new-product-form-create-new").load('@Url.Action("PreCreationForm", "Home", new { createAction = "new" })');
  });
  </code></pre>
  
  <p>When i do this, i think the JS of Bootstrap-select is not executed. But when i render the PartialView in the View:</p>
  
  <pre><code>@Html.Partial("~/Views/Home/PreCreationForm.cshtml")
  </code></pre>
  
  <p>The style of Select component is correctly applied. I need the first approach because i need to execute some actions in the controller.</p>
  
  <p>Probably a ver noob question, but i dont have much experience in this field.</p>
  
  <p>Thanks everyone for the time,
  André</p>