tag_select.ascx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Control Inherits="CuteEditor.EditorUtilityCtrl" Language="c#" AutoEventWireup="false" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
  2. <style type="text/css">
  3. .codebutton
  4. {
  5. width:110px; 
  6. }
  7. </style>
  8. <fieldset><legend>[[Input]]</legend>
  9. <table class="normal">
  10. <tr>
  11. <td style="width:60">[[Name]]:</td>
  12. <td><input type="text" id="inp_name" style="width:100px" /></td>
  13. <td>&nbsp;&nbsp;&nbsp;</td>
  14. <td>[[AccessKey]]:</td>
  15. <td>
  16. <input type="text" id="inp_access" size="1" maxlength="1" />
  17. </td>
  18. </tr>
  19. <tr>
  20. <td>[[ID]]:</td>
  21. <td><input type="text" id="inp_id" style="width:100px" /></td>
  22. <td>&nbsp;&nbsp;</td>
  23. <td>
  24. [[TabIndex]]:
  25. </td>
  26. <td>
  27. <input type="text" id="inp_index" size="5" value="" maxlength="5" onkeypress="return CancelEventIfNotDigit()" />&nbsp;
  28. </td>
  29. </tr>
  30. <tr>
  31. <td>[[Size]]:</td>
  32. <td colspan="4"><input type="text" id="inp_size" style="width:100px" /></td>
  33. </tr>
  34. <tr>
  35. <td>
  36. </td>
  37. <td colspan="4"><input type="checkbox" id="inp_Multiple" /><label for="inp_Multiple">[[AllowMultipleSelections]]</label>
  38. </td>
  39. </tr>
  40. <tr>
  41. <td>
  42. </td>
  43. <td colspan="4"><input type="checkbox" id="inp_Disabled" /><label for="inp_Disabled">[[Disabled]]</label>
  44. </td>
  45. </tr>
  46. </table>
  47. [[Items]]:
  48. <br />
  49. <table class="normal">
  50. <tr>
  51. <td>[[Text]]:
  52. <br />
  53. <input type="text" id="inp_item_text" style="width:130px" />
  54. </td>
  55. <td>[[Value]]:
  56. <br />
  57. <input type="text" id="inp_item_value" style="width:130px" />
  58. </td>
  59. <td rowspan="3" valign="top">
  60. <table>
  61. <tr>
  62. <td colspan="2"><button class="codebutton" onclick="Insert();" id="btnInsertItem">[[Insert]]</button>
  63. </td>
  64. </tr>
  65. <tr>
  66. <td colspan="2"><button class="codebutton" onclick="Update();" id="btnUpdateItem">[[Update]]</button>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td colspan="2"><button class="codebutton" onclick="Delete();" id="btnDeleteItem">[[Delete]]</button>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td colspan="2"><button class="codebutton" onclick="Move(1);" id="btnMoveUpItem">[[MoveUp]]</button>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td colspan="2"><button class="codebutton" onclick="Move(-1);" id="btnMoveDownItem">[[MoveDown]]</button>
  79. </td>
  80. </tr>
  81. </table>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td><select size="6" id="list_options" style="width:130px" onchange="document.getElementById('list_options2').selectedIndex = this.selectedIndex;Select(this);FireUIChanged();"></select></td>
  86. <td><select size="6" id="list_options2" style="width:130px" onchange="document.getElementById('list_options').selectedIndex = this.selectedIndex;Select(this);FireUIChanged();"></select></td>
  87. </tr>
  88. <tr>
  89. <td>[[Color]]:&nbsp;<input autocomplete="off" size="7" type="text" id="inp_item_forecolor" oncolorpopup="this.selectedColor=value"
  90. style='behavior:url(Load.ashx?type=htc&file=ColorPicker.htc)' oncolorchange='inp_item_forecolor.value=this.selectedColor; inp_item_forecolor.style.backgroundColor=this.selectedColor' /></td>
  91. <td>[[BackColor]]:&nbsp;<input autocomplete="off" size="7" type="text" id="inp_item_backcolor" oncolorpopup="this.selectedColor=value"
  92. style='behavior:url(Load.ashx?type=htc&file=ColorPicker.htc)' oncolorchange='inp_item_backcolor.value=this.selectedColor; inp_item_backcolor.style.backgroundColor=this.selectedColor' /></td>
  93. </tr>
  94. </table>
  95. </fieldset>
  96. <script type="text/javascript" src="Load.ashx?type=dialogscript&file=Dialog_Tag_Select.js"></script>