<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyClassUserList.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyClassUserList" %> <%= new MyShiXunWorkNavTopInstance(this) { Local = MyShiXunWorkNavTopItem.班级管理 }.ToHtml()%>
<%= this.ClassInfo.Name %>共<%= this.ListClassStudent.Count %>个学生
学生名称: <%= new HtmlText("Name", this.Name) { Width = 120 }%> <%= new HtmlHidden("Key","MyClassUserList") %> <%= new HtmlHidden("ParentClassInfo",this.ClassInfo.Guid) %> <%= new HtmlSubmit("查询") %> <%= new HtmlReset("清除") { Class="btn"}%> <%= new HtmlButton("删除", "ClassUserBatchDelete(this);"){ Class="btn btn-danger pull-right" }%>
<% for (int i = 0; i <= this.ListClassStudent.Count - 1; i++) { var classStudent = this.ListClassStudent[i]; var classInfo = classStudent.ParentClassInfo; var user = classStudent.ParentUser; %> <% } %>
用户名称 用户类型 所属域 操作
<%= new HtmlCheckBox() { Value = SetKey(classStudent.Guid, classStudent.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= user.TrueName%>
<%= user.UserName %>
<%= user.ParentUserType.Name %> <%= user.ParentDomain.Name %> 删除
全选 - 取消
<%= new PagerAjaxInstance(this) { RecordCount = this.Query.RecordCount, PageSize = this.Query.PageSize, PageIndex = this.Query.PageIndex, PageJsFn = WebUrl.MyClassUserList(this.ClassInfo.Guid, int.MaxValue, this.Name) }.ToHtml()%>