Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
374 Points
518 Posts
Feb 09, 2012 06:28 PM|LINK
Thanks for your reply. Yes I am using the .net validation controls.
Here is my code:
<asp:Button ID="Button1" runat="server" Text="Test Button" CausesValidation="true" /> <br /> <asp:Label ID="PasswordLabel" runat="server" Text="Zip File Password:" ForeColor="Black" Font-Bold="true"></asp:Label> <span class="Red"> <obout:OboutTextBox ID="ZipPwdTextBox" runat="server"></obout:OboutTextBox></span><asp:RequiredFieldValidator ID="ZipPwdValidator" runat="server" ErrorMessage="New Password is required for Zip download" ControlToValidate="ZipPwdTextBox" ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>
mattcase
Member
374 Points
518 Posts
Re: TextBox Validation after postback
Feb 09, 2012 06:28 PM|LINK
Thanks for your reply. Yes I am using the .net validation controls.
Here is my code:
<asp:Button ID="Button1" runat="server" Text="Test Button" CausesValidation="true" /> <br /> <asp:Label ID="PasswordLabel" runat="server" Text="Zip File Password:" ForeColor="Black" Font-Bold="true"></asp:Label> <span class="Red"> <obout:OboutTextBox ID="ZipPwdTextBox" runat="server"></obout:OboutTextBox></span><asp:RequiredFieldValidator ID="ZipPwdValidator" runat="server" ErrorMessage="New Password is required for Zip download" ControlToValidate="ZipPwdTextBox" ForeColor="Red" Display="Dynamic">*</asp:RequiredFieldValidator>