RequiredFieldValidatorControl.ascx
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:1k
源码类别:
编辑器/阅读器
开发平台:
C#
- <%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
- TagPrefix="cc1" %>
- <%@ Control Language="C#" AutoEventWireup="true" %>
- <table width="100%">
- <tr>
- <td width="20%">
- <asp:Label ID="Label1" runat="server" Text="Name:"></asp:Label>
- </td>
- <td>
- <cc1:TextBox ID="TextBox1" runat="server" FieldName="UserName"></cc1:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="Static"
- ControlToValidate="TextBox1" ErrorMessage="Please enter the name."></asp:RequiredFieldValidator>
- </td>
- </tr>
- </table>
- <cc1:UserFormHeader ID="UserFormHeader1" runat="server" Description="Required Field Validator Control"
- Type="Test" Name="RequiredFieldValidatorControlForm" />