TextBoxControl.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. <table width="100%">
  5.   <tr>
  6.     <td width="20%">
  7.       <asp:Label ID="Label1" runat="server" Text="User Name:"></asp:Label>
  8.     </td>
  9.     <td>
  10.       <cc1:TextBox ID="TextBox1" runat="server" FieldName="UserName"></cc1:TextBox>
  11.     </td>
  12.   </tr>
  13.   <tr>
  14.     <td>
  15.       <asp:Label ID="Label2" runat="server" Text="User Name:"></asp:Label>
  16.     </td>
  17.     <td>
  18.       <cc1:TextBox ID="TextBox2" runat="server" FieldName="UserName"></cc1:TextBox>
  19.     </td>
  20.   </tr>
  21.   <tr>
  22.     <td>
  23.       <asp:Label ID="Label3" runat="server" Text="Multiline Edit:"></asp:Label>
  24.     </td>
  25.     <td>
  26.       <cc1:TextBox ID="TextBox3" runat="server" FieldName="Description" Height="200px"
  27.         TextMode="MultiLine" Width="300px"></cc1:TextBox>
  28.     </td>
  29.   </tr>
  30.   <tr>
  31.     <td>
  32.       <asp:Label ID="Label4" runat="server" Text="Zip (Max 5 Char):"></asp:Label>
  33.     </td>
  34.     <td>
  35.       <cc1:TextBox ID="TextBox4" runat="server" FieldName="UserZip" MaxLength="5"></cc1:TextBox>
  36.     </td>
  37.   </tr>
  38. </table>
  39. <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Description="Text Box Control"
  40.   Type="Test" Name="TextBoxControlForm" />