Edit.cshtml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. @model EMIS.ViewModel.TerminatePrinter.PrintControlView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @using EMIS.ViewModel;
  5. @{
  6. ViewBag.Title = "Edit";
  7. }
  8. @section scripts{
  9. <script src="~/Scripts/Business/TerminatePrinter/PrintControlEdit.js" type="text/javascript"></script>
  10. }
  11. @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  12. {
  13. <div class="p_title">
  14. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  15. </div>
  16. <div class="search_list">
  17. @Html.HiddenFor(x => x.PrintControlID)
  18. <table cellpadding="0" cellspacing="0" id="departmenttable">
  19. <tr>
  20. <td>
  21. @Html.LabelFor(x => x.YearID):
  22. </td>
  23. <td>
  24. @Html.SchoolYearDropDownListFor(x => x.YearID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
  25. </td>
  26. <td>
  27. @Html.LabelFor(x => x.Times):
  28. </td>
  29. <td>
  30. @Html.TextBoxFor(x => x.Times, new TextBoxOptions { })
  31. </td>
  32. </tr>
  33. </table>
  34. </div>
  35. }