Вы находитесь на странице: 1из 1

<asp:Content runat="server" ID="FeaturedContent"

ContentPlaceHolderID="FeaturedContent">
</asp:Content>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">


<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="False"
Font-Size="X-Large" ForeColor="Blue" Height="32px" Text="ENTER YOUR NAME:"
Width="245px">
</asp:Label>

<asp:TextBox ID="TextBox1" runat="server" Font-Bold="True" Height="20px"


style="margin-left: 4px" Width="206px"></asp:TextBox>

</asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBox1" ErrorMessage="NAME SHOULD NOT BE BLANK"
Font-Size="10pt">
</asp:RequiredFieldValidator><br />

<asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="X-Large"


ForeColor="Blue" Height="32px" Text="MOBILE NUMBER:" Width="248px">
</asp:Label>

<asp:TextBox ID="TextBox2" runat="server" Height="20px" style="margin-left:


0px" Width="207px">
</asp:TextBox>

<asp:CompareValidator ID="CompareValidator1" runat="server"


ControlToValidate="TextBox2" ErrorMessage="NUMBER SHOULD NOT BE IN TEXT" Font-
Size="Small" Operator="DataTypeCheck" Type="Integer">
</asp:CompareValidator><br />

<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="X-Large"


ForeColor="Blue" Height="38px" Text="AGE:" Width="242px">
</asp:Label>

<asp:TextBox ID="TextBox3" runat="server" Height="24px" Width="202px">


</asp:TextBox>

<asp:RangeValidator ID="RangeValidator1" runat="server"


ControlToValidate="TextBox3" ErrorMessage="VALUE BETWEEN 1-100" Font-Size="Small"
MaximumValue="100" MinimumValue="100">
</asp:RangeValidator>

<asp:Button ID="Button1" runat="server" Text="SUBMIT" />


</asp:Content>

Вам также может понравиться