RuntimeControlsUserForm.ascx
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:2k
源码类别:

编辑器/阅读器

开发平台:

C#

  1. <%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
  2.   TagPrefix="cc1" %>
  3. <%@ Control Language="C#" ClassName="AllFormFieldsControl" %>
  4. <table width="100%">
  5.   <tr>
  6.     <td width="20%">
  7.       <asp:Label ID="Label15" runat="server" Text="ComboBox:"></asp:Label>
  8.     </td>
  9.     <td>
  10.       <cc1:ComboBox ID="ComboBox1" runat="server" FieldName="ComboBoxField1">
  11.         <asp:ListItem Selected="True" Value="Value1">Item 1</asp:ListItem>
  12.         <asp:ListItem Value="Value2">Item 2</asp:ListItem>
  13.         <asp:ListItem Value="Value3">Item 3</asp:ListItem>
  14.       </cc1:ComboBox>
  15.     </td>
  16.   </tr>
  17.   <tr>
  18.     <td>
  19.       <asp:Label ID="Label16" runat="server" Text="LookupComboBox:"></asp:Label>
  20.     </td>
  21.     <td>
  22.       <cc1:LookupComboBox ID="LookupComboBox1" runat="server" FieldName="LookupComboBoxFormField1"
  23.         LookupName="MaritialStatus">
  24.       </cc1:LookupComboBox>
  25.     </td>
  26.   </tr>
  27.   <tr>
  28.     <td>
  29.       <asp:Label ID="Label11" runat="server" Text="System Date:"></asp:Label>
  30.     </td>
  31.     <td>
  32.       <cc1:VisibleVariable ID="VisibleVariable1" runat="server" FieldName="SystemCurrentDate"
  33.         FieldExpression="${System.CurrentDate}">
  34.       </cc1:VisibleVariable>
  35.     </td>
  36.   </tr>
  37.   <tr>
  38.     <td>
  39.       <asp:Label ID="Label2" runat="server" Text="User:"></asp:Label>
  40.     </td>
  41.     <td>
  42.       <cc1:VisibleVariable ID="VisibleVariable2" runat="server" FieldName="SystemUser"
  43.         FieldExpression="${System.User}">
  44.       </cc1:VisibleVariable>
  45.     </td>
  46.   </tr>
  47.   <tr>
  48.     <td>
  49.       <asp:Label ID="Label13" runat="server" Text="TimePicker:"></asp:Label>
  50.     </td>
  51.     <td>
  52.       <cc1:TimePicker ID="TimePicker1" runat="server" FieldName="TimePickerField1"></cc1:TimePicker>
  53.     </td>
  54.   </tr>
  55.   <tr>
  56.     <td>
  57.       <asp:Label ID="Label14" runat="server" Text="DatePicker:"></asp:Label>
  58.     </td>
  59.     <td>
  60.       <cc1:DatePicker ID="DatePicker1" runat="server" FieldName="DatePickerField1"></cc1:DatePicker>
  61.     </td>
  62.   </tr>
  63. </table>
  64. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Type="RuntimeDemo" Name="RuntimeControlsUserForm" />