No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi.. I have a text box with a custom validator, compare field validator. I have a problem with the error message display. my compare field validator works normally....ie; when I enter a wrong value it gives me the error message and when I correct it the error message disappears.but this … | |
Hello there.. I have a custom validator for my text boxes. the code is as below.. Expand|Select|Wrap|Line Numbers [CODE] <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="text1" ErrorMessage="Please enter text1" ClientValidationFunction="ClientValidate3" ValidateEmptyText="true" ValidationGroup="Submit" onservervalidate="CustomValidator3_ServerValidate" Display="Dynamic" SetFocusOnError="false">*</asp:CustomValidator> [/CODE] [CODE] function ClientValidate3(sender, args) { var txt1 = document.getElementById("<%= text1.ClientID %>"); var txt2 = document.getElementById("<%= text2.ClientID %>"); … | |
hello, I am trying to enable validators using javascript and they get enabled as expected but when I am trying to disable them they give an error and then get disabled. I think I am missing a logic on how to disable them. My code is supposed to validate two … | |
Hello there... can somebody guide me on this… I have a panel (say, panel1) inside another panel (say, outer-panel)….The panel1 is visible only when a checkbox is checked in the outer-panel. I have many text boxes in the panel1. I have to put a validation on all the boxes. I … |