|
<%@ Register Src="ChildUserForm.ascx" TagName="ChildUserForm" TagPrefix="uc1" %>
<%@ Register Assembly="Itenso.WebUserForms.Controls" Namespace="Itenso.WebUserForms.Controls"
TagPrefix="cc1" %>
<%@ Control Language="C#" AutoEventWireup="true" %>
<table width="100%" style="border-spacing: 0; border-collapse: collapse">
<tr>
<td colspan="2">
<uc1:ChildUserForm ID="ChildUserForm1" runat="server" />
</td>
</tr>
<tr>
<td width="20%">
<asp:Label ID="Label1" runat="server" Text="Age (Parent):"></asp:Label>
</td>
<td>
<cc1:TextBox ID="TextBox1" runat="server" FieldName="UserAge"></cc1:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
ControlToValidate="TextBox1" ErrorMessage="Please enter the age."></asp:RequiredFieldValidator>
<asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="Please enter value from 10 to 120."
Display="None" MaximumValue="120" MinimumValue="10" Type="Integer" ControlToValidate="TextBox1"></asp:RangeValidator>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
</td>
</tr>
</table>
<cc1:UserFormHeader ID="UserFormHeader1" runat="server" Type="RuntimeDemo" Name="ParentUserForm" />
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
👨 Senior .NET Software Engineer
🚀 My Open Source Projects
-
Time Period Library 👉
GitHub
-
Payroll Engine 👉
GitHub
Feedback and contributions are welcome.