VirtualUserForm2.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#" AutoEventWireup="true" %>
  4. <table width="100%">
  5.     <tr>
  6.         <td width="20%">
  7.             <asp:Label ID="Label1" runat="server" Text="ListBox:"></asp:Label>
  8.         </td>
  9.         <td>
  10.             <cc1:ListBox ID="ListBox1" runat="server" FieldName="ListBoxField">
  11.                 <asp:ListItem>Item1</asp:ListItem>
  12.                 <asp:ListItem>Item2</asp:ListItem>
  13.                 <asp:ListItem>Item3</asp:ListItem>
  14.             </cc1:ListBox>
  15.         </td>
  16.     </tr>
  17.     <tr>
  18.         <td>
  19.             <asp:Label ID="Label3" runat="server" Text="RadioButtonList:"></asp:Label>
  20.         </td>
  21.         <td>
  22.             <cc1:RadioButtonList ID="RadioButtonList1" runat="server" FieldName="RadioButtonField"
  23.                 RepeatDirection="Horizontal">
  24.                 <asp:ListItem>Option1</asp:ListItem>
  25.                 <asp:ListItem>Option2</asp:ListItem>
  26.                 <asp:ListItem>Option 3</asp:ListItem>
  27.             </cc1:RadioButtonList>
  28.         </td>
  29.     </tr>
  30.     <tr>
  31.         <td>
  32.             <asp:Label ID="Label4" runat="server" Text="CheckBoxList:"></asp:Label>
  33.         </td>
  34.         <td>
  35.             <cc1:CheckBoxList ID="CheckBoxList1" runat="server" FieldName="CkeckBoxField" RepeatDirection="Horizontal">
  36.                 <asp:ListItem>Option1</asp:ListItem>
  37.                 <asp:ListItem>Option2</asp:ListItem>
  38.                 <asp:ListItem>Option3</asp:ListItem>
  39.             </cc1:CheckBoxList>
  40.         </td>
  41.     </tr>
  42. </table>
  43. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Type="RuntimeDemo" Name="VirtualUserForm" />