Generate.cshtml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. @model EMIS.ViewModel.EducationManage.GenerateTrainingClassConditions
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Entities;
  4. @using EMIS.Web.Controls;
  5. @{
  6. ViewBag.Title = "Generate";
  7. }
  8. @section scripts{
  9. <script src="~/Scripts/Business/EducationManage/TrainingClassGen.js" type="text/javascript"></script>
  10. <script type="text/javascript">
  11. var nonSelect = "@DropdownList.SELECT_ALL";
  12. </script>
  13. }
  14. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  15. @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  16. {
  17. <div class="p_title">
  18. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  19. </div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Generate")</div>
  21. </div>
  22. <div class="search_list">
  23. <table cellpadding="0" cellspacing="0">
  24. <tr>
  25. <td>
  26. @Html.LabelFor(x => x.SchoolyearID):
  27. </td>
  28. <td>
  29. @Html.DropdownListFor(x => x.SchoolyearID, new DropdownListOptions
  30. {
  31. BindType = DropdownListBindType.SelectAll,
  32. ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"),
  33. OnSelect = "schoolyearChange",
  34. SelectedValue = BaseExtensions.GetCurrentSchoolYearID(),
  35. OnLoadSuccess = "schoolyearChange"
  36. })
  37. </td>
  38. <td>
  39. @Html.LabelFor(x => x.ExaminationBatchID):
  40. </td>
  41. <td>
  42. @Html.DropdownListFor(x => x.ExaminationBatchID, new DropdownListOptions
  43. {
  44. BindType = DropdownListBindType.SelectAll,
  45. OnSelect = "examinationBatchChange",
  46. OnLoadSuccess = "examinationBatchChange"
  47. })
  48. </td>
  49. </tr>
  50. <tr>
  51. <td>
  52. @Html.LabelFor(x => x.ExaminationProjectID):
  53. </td>
  54. <td>
  55. @Html.DropdownListFor(x => x.ExaminationProjectID, new DropdownListOptions
  56. {
  57. BindType = DropdownListBindType.SelectAll
  58. })
  59. </td>
  60. <td>
  61. @Html.LabelFor(x => x.SchoolAreaID):
  62. </td>
  63. <td>
  64. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_SchoolArea, x => x.SchoolAreaID, new DropdownListOptions
  65. {
  66. BindType = DropdownListBindType.SelectAll,
  67. ID = "ddlSchoolArea",
  68. Name = "schoolAreaID"
  69. })
  70. </td>
  71. </tr>
  72. </table>
  73. </div>
  74. }
  75. </div>