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

编辑器/阅读器

开发平台:

C#

  1. <%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
  2.   TagPrefix="cc1" %>
  3. <%@ Control Language="C#" AutoEventWireup="true" %>
  4. <asp:Panel ID="Panel1" runat="server" GroupingText="Customer">
  5.   <table>
  6.     <tr>
  7.       <td>
  8.         <asp:Label ID="CustomerNameLabel" runat="server" Text="Name:"></asp:Label>
  9.       </td>
  10.       <td>
  11.         <cc1:TextBox ID="CustomerNameEdit" runat="server" FieldName="CustomerName">
  12.         </cc1:TextBox>
  13.       </td>
  14.     </tr>
  15.     <tr>
  16.       <td>
  17.         <asp:Label ID="CustomerLabel" runat="server" Text="Title:"></asp:Label>
  18.       </td>
  19.       <td>
  20.         <cc1:TextBox ID="CustomerTitleEdit" runat="server" FieldName="CustomerTitle">
  21.         </cc1:TextBox>
  22.       </td>
  23.     </tr>
  24.     <tr>
  25.       <td>
  26.         <asp:Label ID="CustomerCompanyLabel" runat="server" Text="Company:"></asp:Label>
  27.       </td>
  28.       <td>
  29.         <cc1:TextBox ID="CustomerCompanyEdit" runat="server" FieldName="CustomerCompany">
  30.         </cc1:TextBox>
  31.       </td>
  32.     </tr>
  33.     <tr>
  34.       <td>
  35.         <asp:Label ID="CustomerAddressLabel" runat="server" Text="Address:"></asp:Label>
  36.       </td>
  37.       <td>
  38.         <cc1:TextBox ID="CustomerAddressEdit" runat="server" FieldName="CustomerAddress"
  39.           TextMode="MultiLine">
  40.         </cc1:TextBox>
  41.       </td>
  42.     </tr>
  43.     <tr>
  44.       <td>
  45.         <asp:Label ID="CustomerEmailLabel" runat="server" Text="Email:"></asp:Label>
  46.       </td>
  47.       <td>
  48.         <cc1:TextBox ID="CustomerEmailEdit" runat="server" FieldName="CustomerEmail" MaxLength="25">
  49.         </cc1:TextBox>
  50.       </td>
  51.   </table>
  52. </asp:Panel>
  53. <asp:Panel ID="Panel2" runat="server" GroupingText="Settings">
  54.   <table>
  55.     <tr>
  56.       <td>
  57.         <asp:Label ID="OptionOffersLabel" runat="server" Text="Offers"></asp:Label>
  58.       </td>
  59.       <td>
  60.         <cc1:CheckBox ID="OptionOffersEdit" runat="server" Text="Receive Offers" FieldName="OptionOffers"
  61.           FieldValue="false" />
  62.       </td>
  63.     </tr>
  64.     <tr>
  65.       <td>
  66.         <asp:Label ID="OptionFeedbackLabel" runat="server" Text="Feedback"></asp:Label>
  67.       </td>
  68.       <td>
  69.         <cc1:CheckBox ID="OptionFeedbackEdit" runat="server" Text="Receive Feedback" FieldName="OptionFeedback"
  70.           FieldValue="true" />
  71.       </td>
  72.     </tr>
  73.     <tr>
  74.       <td>
  75.         <asp:Label ID="OptionUpdatesLabel" runat="server" Text="Updates"></asp:Label>
  76.       </td>
  77.       <td>
  78.         <cc1:CheckBox ID="OptionUpdatesEdit" runat="server" Text="Receive Updates" FieldName="OptionUpdates"
  79.           FieldValue="true" />
  80.       </td>
  81.     </tr>
  82.   </table>
  83. </asp:Panel>
  84. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Type="RuntimeDemo" Name="SimpleUserForm" />