我有两个页面,一个是主页面,第二个是 PartialView 页面,并使用 jquery get 方法在弹出窗口中显示
我的主页
@model CT.SmartQueue.Entity.QueueModel
@{
ViewBag.Title = "AdminPanel";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Queue Lists</h2>
<div class="col-lg-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>For Service Centre Only: </h5>
<div class="ibox-tools">
</div>
</div>
<div class="ibox-content">
<table class="table table-striped">
<tr>
<th>
Code
</th>
<th>
Name
</th>
<th>
Description
</th>
<th>
IsActive
</th>
<th>
Edit
</th>
</tr>
@foreach (var item in Model.ClientQueueModel)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Code)
</td>
<td>
@Html.DisplayFor(modelItem => item.Name)
</td>
<td>
@Html.DisplayFor(modelItem => item.Description)
</td>
<td> …Run Code Online (Sandbox Code Playgroud) asp.net-mvc jquery jquery-validate razor unobtrusive-validation