TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
suman biswas
NA
5
0
Validation controls not working
May 12 2010 10:47 PM
I was playing around with some validation controls and all of a sudden all validation controls on my page stopped working, any idea what i could have screwed up?
<tr>
<td class="style2">
</td>
<td class="style6">
First Name / Last Name</td>
<td class="style10">
</td>
<td class="style19">
<asp:TextBox ID="Firstname" runat="server"></asp:TextBox>
<asp:TextBox ID="Lastname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="First name is empty." ControlToValidate="Firstname" ></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Last name is empty." ControlToValidate="Lastname" ></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class="style2">
</td>
<td class="style6">
Handphone</td>
<td class="style10">
</td>
<td class="style19">
<asp:TextBox ID="Handphone" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ErrorMessage="Handphone number is empty." ControlToValidate="handphone" ></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class="style2">
</td>
<td class="style6">
Password</td>
<td class="style10">
</td>
<td class="style19">
<asp:TextBox ID="Password1" runat="server"></asp:TextBox>
<asp:CustomValidator ID="passval" runat="server"
ControlToValidate="Password2" ErrorMessage="Password cannot be empty."
ValidateEmptyText="True"></asp:CustomValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Password1" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="Password1" ControlToCompare="Password2"
ErrorMessage="CompareValidator"></asp:CompareValidator>
</td>
<td>
</td>
</tr>
Reply
Answers (
3
)
gridview
How to run a service on Local System Account.