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

编辑器/阅读器

开发平台:

C#

  1. <%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
  2.   TagPrefix="cc1" %>
  3. <%@ Control Language="C#" AutoEventWireup="true" %>
  4. <script runat="server" language="C#">
  5.   public object myPublicField = new System.IO.DirectoryInfo( "C:\" );
  6.   protected object myProtectedField = new System.IO.DirectoryInfo( "C:\" );
  7.   private object myPrivateField = new System.IO.DirectoryInfo( "C:\" );
  8. </script>
  9. <table width="100%">
  10.   <tr>
  11.     <td width="20%">
  12.       <asp:Label ID="Label1" runat="server" Text="TextBox:"></asp:Label>
  13.     </td>
  14.     <td>
  15.       <cc1:TextBox ID="TextBox1" runat="server" FieldName="TextBox"></cc1:TextBox>
  16.     </td>
  17.   </tr>
  18.   <tr>
  19.     <td>
  20.       <asp:Label ID="Label3" runat="server" Text="Multiline TextBox:"></asp:Label>
  21.     </td>
  22.     <td>
  23.       <cc1:TextBox ID="TextBox3" runat="server" FieldName="TextBox_Multiline" TextMode="MultiLine"></cc1:TextBox>
  24.     </td>
  25.   </tr>
  26.   <tr>
  27.     <td>
  28.       <asp:Label ID="Label4" runat="server" Text="TextBox (MaxLength=5):"></asp:Label>
  29.     </td>
  30.     <td>
  31.       <cc1:TextBox ID="TextBox4" runat="server" FieldName="TextBox_MaxLength5" MaxLength="5"></cc1:TextBox>
  32.     </td>
  33.   </tr>
  34. </table>
  35. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Type="RuntimeDemo" Name="SimpleUserForm" />