PersistentUserForm.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. <table>
  5.   <tr>
  6.     <td>
  7.       <asp:Label ID="CustomerNameLabel" runat="server" Text="Name:"></asp:Label>
  8.     </td>
  9.     <td>
  10.       <cc1:TextBox ID="CustomerNameEdit" runat="server" FieldName="CustomerName"></cc1:TextBox>
  11.     </td>
  12.   </tr>
  13.   <tr>
  14.     <td>
  15.       <asp:Label ID="CustomerLabel" runat="server" Text="Title:"></asp:Label>
  16.     </td>
  17.     <td>
  18.       <cc1:TextBox ID="CustomerTitleEdit" runat="server" FieldName="CustomerTitle"></cc1:TextBox>
  19.     </td>
  20.   </tr>
  21.   <tr>
  22.     <td>
  23.       <asp:Label ID="CustomerCompanyLabel" runat="server" Text="Company:"></asp:Label>
  24.     </td>
  25.     <td>
  26.       <cc1:TextBox ID="CustomerCompanyEdit" runat="server" FieldName="CustomerCompany"></cc1:TextBox>
  27.     </td>
  28.   </tr>
  29.   <tr>
  30.     <td>
  31.       <asp:Label ID="CustomerAddressLabel" runat="server" Text="Address:"></asp:Label>
  32.     </td>
  33.     <td>
  34.       <cc1:TextBox ID="CustomerAddressEdit" runat="server" FieldName="CustomerAddress"
  35.         TextMode="MultiLine"></cc1:TextBox>
  36.     </td>
  37.   </tr>
  38.   <tr>
  39.     <td>
  40.       <asp:Label ID="CustomerEmailLabel" runat="server" Text="Email:"></asp:Label>
  41.     </td>
  42.     <td>
  43.       <cc1:TextBox ID="CustomerEmailEdit" runat="server" FieldName="CustomerEmail" MaxLength="25"></cc1:TextBox>
  44.     </td>
  45.     <tr>
  46.       <td>
  47.         <asp:Label ID="OptionOffersLabel" runat="server" Text="Offers"></asp:Label>
  48.       </td>
  49.       <td>
  50.         <cc1:CheckBox ID="OptionOffersEdit" runat="server" Text="Receive Offers" FieldName="OptionOffers"
  51.           FieldValue="false" />
  52.       </td>
  53.     </tr>
  54.   <tr>
  55.     <td>
  56.       <asp:Label ID="OptionFeedbackLabel" runat="server" Text="Feedback"></asp:Label>
  57.     </td>
  58.     <td>
  59.       <cc1:CheckBox ID="OptionFeedbackEdit" runat="server" Text="Receive Feedback" FieldName="OptionFeedback"
  60.         FieldValue="true" />
  61.     </td>
  62.   </tr>
  63.   <tr>
  64.     <td>
  65.       <asp:Label ID="OptionUpdatesLabel" runat="server" Text="Updates"></asp:Label>
  66.     </td>
  67.     <td>
  68.       <cc1:CheckBox ID="OptionUpdatesEdit" runat="server" Text="Receive Updates" FieldName="OptionUpdates"
  69.         FieldValue="true" />
  70.     </td>
  71.   </tr>
  72. </table>
  73. <cc1:Button ID="ButtonSave" runat="server" CommandName="FormSave" Text="Save" />
  74. <cc1:Button ID="ButtonLoad" runat="server" CommandName="FormLoad" Text="Load" />
  75. &nbsp;&nbsp;
  76. <cc1:Button ID="ButtonLock" runat="server" CommandName="FormLock" Text="Lock" />
  77. <cc1:Button ID="ButtonUnlock" runat="server" CommandName="FormUnlock" Text="Unlock" />
  78. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Type="RuntimeDemo" Name="ParentUserForm" />