requiredfieldvalidator
ControlToValidate fires on all clicks: I only want it to fire when I click the "Submit" button
I have a textbox that is validated to make sure there is text content, for a file upload page. My problem is that when the page has first loaded and you clic开发者_JAVA百科k anyway where on the page,[详细]
2023-02-05 22:25 分类:问答RequiredFieldValidator keeps refreshing the page
I am creating a register form and when the user clicks on the confirm password field, the page refreshes and I lose the text开发者_如何学C from the other field (the password field)[详细]
2023-02-04 21:00 分类:问答How does RequiredFieldValidator automatically stops database being updated?
My previous impression of RequiredFieldValidator and similar have been that they show you an error label and set Page.IsValid false and that is it. Meaning they leave the rest of the task (preventing[详细]
2023-01-24 10:33 分类:问答Required field validator not working
I have used a required field validator followed by a regular expression validator but the required field validator is not working.....[详细]
2023-01-23 03:29 分类:问答Required field validator for multiple dropdown lists in an aspx page
I have an aspx page which has 18 (yes 18) dropdown lists and 18 text boxes. Each dropdown needs to be selected and each textbox needs to be filled. Dragging and dropping required field validators on t[详细]
2023-01-22 02:09 分类:问答Disable validation controls based on a condition
I have an asp.net application that uses validation controls on textboxes. However,开发者_开发技巧 if the user enters a value in txtFieldA, then I want to disable the validation controls on txtFieldB a[详细]
2023-01-16 10:24 分类:问答.net Validating a range of controls
I have the following scenario. I have a search page which is split into two divs. In the first, a user can create queryparameters using a range of drop down menus. In the second div a user can enter[详细]
2023-01-13 18:59 分类:问答Show "passed" image or text after validating an asp.net (req. field)validator
I have the following asp.net code: <asp:TextBox CssClass=\"mf\" runat=\"server\" ID=\"mail1\" Width=\"270\" />[详细]
2023-01-11 00:10 分类:问答RequiredFieldValidator works on dev and stage environments, not production
We deployed our legacy ASP.NET application to production after successful test deployments to our staging environment.The application makes use of RequiredFieldValidators on one particular registratio[详细]
2023-01-10 04:31 分类:问答asp.net usercontrol SetFocusOnError
I have a aspx page that several of the same usercontrols on the page.The usercontrol houses a textbox that has a Required field validator on it.The validator works but the setonfocus=\"true\" does not[详细]
2023-01-08 16:40 分类:问答