I am trying to organize work with bookmarks (tab):

Schools.cshtml
... <div> <ul class="nav nav-tabs"> <li id="tab_info"><a href="#">Реквизиты</a></li> <li id="tab_rmschool"><a href="#">Отчеты</a></li> </ul> </div> <script type="text/javascript"> $(document).ready(function () { $('#School').change(function () { var schoolid = $("#ddlSchool").val(); $.ajax({ url: "/Report/GetRMschoolPV?_schoolID=" + schoolid, type: "GET", data: "@User.Identity.Name",//если в Razor success: function (data) { $("#tab_rmschool").html(data) } }) }); }); </script>
But after the changes to the School this is what happens:

url: "/Report/GetRMschoolPV?_schoolID=" + schoolid returns a частичное представление .
As a result, as seen in the screenshot: a partial view is loaded into the tab_rmschool block. But this very block I still blocked the tab with its name "Reports".
- What am I doing wrong?
- Maybe there is some kind of template? After all, it seems to me that such functionality is used often.