1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- @model EMIS.ViewModel.EducationManage.GenerateTrainingClassConditions
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Generate";
- }
- @section scripts{
- <script src="~/Scripts/Business/EducationManage/TrainingClassGen.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <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("Generate")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0">
- <tr>
- <td>
- @Html.LabelFor(x => x.SchoolyearID):
- </td>
- <td>
- @Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"),
- OnSelect = "schoolyearChange",
- SelectedValue = BaseExtensions.GetCurrentSchoolYearID(),
- OnLoadSuccess = "schoolyearChange"
- })
- </td>
- <td>
- @Html.LabelFor(x => x.ExaminationBatchID):
- </td>
- <td>
- @Html.DropdownListFor(x => x.ExaminationBatchID, new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- OnSelect = "examinationBatchChange",
- OnLoadSuccess = "examinationBatchChange"
- })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.ExaminationProjectID):
- </td>
- <td>
- @Html.DropdownListFor(x => x.ExaminationProjectID, new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll
- })
- </td>
- <td>
- @Html.LabelFor(x => x.SchoolAreaID):
- </td>
- <td>
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_SchoolArea, x => x.SchoolAreaID, new DropdownListOptions
- {
- BindType = DropdownListBindType.SelectAll,
- ID = "ddlSchoolArea",
- Name = "schoolAreaID"
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|