RoadFlow2.1 临时演示

Body.aspx 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Body.aspx.cs" Inherits="WebForm.Platform.Dictionary.Body" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="form1" runat="server">
  10. <br />
  11. <table cellpadding="0" cellspacing="1" border="0" width="95%" class="formtable">
  12. <tr>
  13. <th style="width:80px;">标题:</th>
  14. <td><input type="text" id="Title1" name="Title1" class="mytext" runat="server" validate="empty" maxlength="100" style="width:70%" /></td>
  15. </tr>
  16. <tr>
  17. <th style="width:80px;">唯一代码:</th>
  18. <td><input type="text" id="Code" name="Code" class="mytext" runat="server" validate="canempty,ajax" maxlength="100" style="width:70%" /></td>
  19. </tr>
  20. <tr>
  21. <th style="width:80px;">值:</th>
  22. <td><input type="text" id="Values" name="Values" class="mytext" runat="server" maxlength="100" style="width:70%" /></td>
  23. </tr>
  24. <tr>
  25. <th style="width:80px;">备注:</th>
  26. <td><textarea id="Note" name="Note" class="mytext" runat="server" style="width:90%; height:50px;"></textarea></td>
  27. </tr>
  28. <tr>
  29. <th style="width:80px;">其它:</th>
  30. <td><textarea id="Other" name="Other" class="mytext" runat="server" style="width:90%; height:50px;"></textarea></td>
  31. </tr>
  32. </table>
  33. <div style="width:95%; margin:10px auto 10px auto; text-align:center;">
  34. <input type="button" class="mybutton" value="添加子项" onclick="window.location='Add.aspx<%=Request.Url.Query%>';" />
  35. <input type="button" class="mybutton" value="排序" onclick="sort1();" />
  36. <input type="submit" class="mybutton" name="Save" value="保存" onclick="return new RoadUI.Validate().validateForm(document.forms[0]);" />
  37. <input type="submit" class="mybutton" name="Delete" value="删除" onclick="return confirm('您真的要删除该字典项吗?');" />
  38. </div>
  39. </form>
  40. <script type="text/javascript">
  41. $(window).load(function ()
  42. {
  43. });
  44. function sort1()
  45. {
  46. window.location = "Sort.aspx" + "<%=Request.Url.Query%>";
  47. }
  48. </script>
  49. </body>
  50. </html>