1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "StudentExperience";
- }
- @section scripts{
- <script src="../../Scripts/Business/Studentfile/StudentExperience.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 学生简历
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- </div>
- <div class="search_list">
- @using (Ajax.BeginForm("SaveStudentExperience", "Students", new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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,
- })
- }
- </div>
- </div>
|