<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySTScoreItemList.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySTScoreItemList" %>
我的优课评比:优课评比评分项 <%= this.Subject._ListSTScoreItem.Count %>个评分项 <%= new MySubjectNavInstance(this) { Local = "评分项" }.ToHtml()%>
<%= new HtmlButton("添加...", "window.location.href='" + WebUrl.MySTScoreItemAdd(this.Subject.Guid) + "';")%> <%= new HtmlButton("删除", "STScoreItemBatchDelete(this);")%> <% var allScore = this.ListSTScoreItem.Sum(l => l.ScoreRatio); if (allScore != 100) { %> 评分比例合计不为100,当前为<%= allScore %> <% } %>
<% for (int i = 0; i <= this.ListSTScoreItem.Count - 1; i++) { var stAward = this.ListSTScoreItem[i]; %> <% } %>
评分类型 评分项 评分比例 操作
<%= new HtmlCheckBox() { Value = SetKey(stAward.Guid, stAward.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= stAward.ParentSTScoreType.Name %> <%= stAward.Name %> <%= stAward.ScoreRatio %> <%= new HtmlAnchor("编辑") { Href = WebUrl.MySTScoreItemEdit(stAward.Guid) }%> | 删除
全选 - 取消