shalini-sb
August 23rd, 2005, 01:47 AM
Hello!!
My compare validation was working initially in the program and now all of sudden it has stopped working. Pl guide. What could be the reason ?
<asp:TextBox id="txt1" runat="server" />
<asp:TextBox id="txt2" runat="server" />
<asp:CompareValidator
id="compval"
Display="dynamic"
Operator="Equal"
ControlToValidate="txt1"
ControlToCompare="txt2"
ForeColor="red"
BackColor="yellow"
EnableClientScript="false"
Text="Validation Failed!"
runat="server" />
My compare validation was working initially in the program and now all of sudden it has stopped working. Pl guide. What could be the reason ?
<asp:TextBox id="txt1" runat="server" />
<asp:TextBox id="txt2" runat="server" />
<asp:CompareValidator
id="compval"
Display="dynamic"
Operator="Equal"
ControlToValidate="txt1"
ControlToCompare="txt2"
ForeColor="red"
BackColor="yellow"
EnableClientScript="false"
Text="Validation Failed!"
runat="server" />