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

编辑器/阅读器

开发平台:

C#

  1. <%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
  2.   TagPrefix="cc1" %>
  3. <%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
  4.   TagPrefix="cc2" %>
  5. <%@ Control Language="C#" ClassName="PanelControl" %>
  6. <asp:Panel ID="Panel1" runat="server" Width="500px" BackColor="#CCFFCC" BorderColor="#00CC99"
  7.   BorderStyle="Solid" BorderWidth="1px">
  8.   <table width="100%">
  9.     <tr>
  10.       <td colspan="2" align="center">
  11.         <asp:Label ID="Label6" runat="server" Text="Customer" Font-Bold="True" Font-Size="Larger"></asp:Label>
  12.       </td>
  13.     </tr>
  14.     <tr>
  15.       <td width="20%">
  16.         <asp:Label ID="Label1" runat="server" Text="First Name:"></asp:Label>
  17.       </td>
  18.       <td>
  19.         <cc1:TextBox ID="TextBox1" runat="server" FieldName="UserFirstName"></cc1:TextBox>
  20.       </td>
  21.     </tr>
  22.     <tr>
  23.       <td>
  24.         <asp:Label ID="Label2" runat="server" Text="Last Name:"></asp:Label>
  25.       </td>
  26.       <td>
  27.         <cc1:TextBox ID="TextBox2" runat="server" FieldName="UserLastName"></cc1:TextBox>
  28.       </td>
  29.     </tr>
  30.     <tr>
  31.       <td>
  32.         <asp:Label ID="Label3" runat="server" Text="Age:"></asp:Label>
  33.       </td>
  34.       <td>
  35.         <cc1:TextBox ID="TextBox3" runat="server" FieldName="UserAge"></cc1:TextBox>
  36.       </td>
  37.     </tr>
  38.     <tr>
  39.       <td>
  40.         <asp:Label ID="Label4" runat="server" Text="Gender:"></asp:Label>
  41.       </td>
  42.       <td>
  43.         <cc1:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
  44.           FieldName="UserGender">
  45.           <asp:ListItem>Female</asp:ListItem>
  46.           <asp:ListItem>Male</asp:ListItem>
  47.         </cc1:RadioButtonList>
  48.       </td>
  49.     </tr>
  50.     <tr>
  51.       <td>
  52.         <asp:Label ID="Label5" runat="server" Text="Maritial Status:"></asp:Label>
  53.       </td>
  54.       <td>
  55.         <cc2:DropDownList ID="DropDownList1" runat="server" FieldName="UserMaritialStatus">
  56.           <asp:ListItem Selected="True">Single</asp:ListItem>
  57.           <asp:ListItem>Married</asp:ListItem>
  58.           <asp:ListItem>Separated</asp:ListItem>
  59.           <asp:ListItem>Divorced</asp:ListItem>
  60.           <asp:ListItem>Widowed</asp:ListItem>
  61.           <asp:ListItem>Engaged</asp:ListItem>
  62.           <asp:ListItem>Annulled</asp:ListItem>
  63.           <asp:ListItem>Cohabitating</asp:ListItem>
  64.           <asp:ListItem>Deceased</asp:ListItem>
  65.         </cc2:DropDownList>
  66.       </td>
  67.     </tr>
  68.   </table>
  69. </asp:Panel>
  70. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Description="Panel Control"
  71.   Type="Test" Name="PanelControlForm" />