Edit.cshtml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @model EMIS.ViewModel.DegreeManage.DegreeSetting.DegreeOpenControlView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/DegreeManage/DegreeSetting/DegreeOpenControlEdit.js" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. </script>
  11. }
  12. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. @using (Ajax.BeginForm(new AjaxOptions
  14. {
  15. OnSuccess = "EMISFunction.FormSuccess",
  16. OnBegin = "EMISFunction.FormSubmit",
  17. OnComplete = "EMISFunction.FormComplete"
  18. }))
  19. {
  20. <div class="p_title">
  21. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  22. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  23. </div>
  24. <div class="search_list">
  25. <table cellpadding="0" cellspacing="0">
  26. <tr>
  27. <td style="color: red;">
  28. @Html.LabelFor(x => x.GraduatingSemesterCode):
  29. </td>
  30. <td>
  31. @Html.DropdownListFor(x => x.GraduatingSemesterID, new DropdownListOptions
  32. {
  33. BindType = DropdownListBindType.PleaseSelect,
  34. ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid")
  35. })
  36. </td>
  37. <td style="color: red;">
  38. @Html.LabelFor(x => x.DegreeBatchID):
  39. </td>
  40. <td>
  41. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.ER_DegreeBatch, (x => x.DegreeBatchID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = true })
  42. </td>
  43. </tr>
  44. <tr>
  45. <td>
  46. @Html.LabelFor(x => x.StartDate):
  47. </td>
  48. <td>
  49. @Html.TextBoxFor(x => x.StartDate, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
  50. </td>
  51. <td>
  52. @Html.LabelFor(x => x.EndDate):
  53. </td>
  54. <td>
  55. @Html.TextBoxFor(x => x.EndDate, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
  56. </td>
  57. </tr>
  58. </table>
  59. </div>
  60. }
  61. </div>