@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "StudentExperience";
}
@section scripts{
}
@Html.Position()
学生简历
@Html.ContextMenuBar("List")
@using (Ajax.BeginForm("SaveStudentExperience", "Students", new AjaxOptions
{
OnSuccess = "EMISFunction.FormSuccess",
OnBegin = "EMISFunction.FormSubmit",
OnComplete = "EMISFunction.FormComplete"
}))
{
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new TextBoxColumn { FieldName="StartYear", HeaderText="开始年份", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
Align=AlignStyle.Center, Width=0.05 },
new TextBoxColumn { FieldName="StartMonth", HeaderText="月", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
Align=AlignStyle.Center, Width=0.05 },
new TextBoxColumn { FieldName="EndYear", HeaderText="至年", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
Align=AlignStyle.Center, Width=0.05 },
new TextBoxColumn { FieldName="EndMonth", HeaderText="月", Validator=new OnlyNumberValidator() { Required = false }, IsRequired=false,
Align=AlignStyle.Center, Width=0.05 },
new TextBoxColumn { FieldName="Experience", HeaderText="学习工作经历", Align=AlignStyle.Center,Width=0.75 }
},
IsPostBack = true,
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Students/StudentExperienceList"),
ID = "dgStudentExperienceList",
IsPagination = false,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsAutoHeight = false,
})
}