[RESOLVED] Ignore RequiredFieldValidator???
hi,
i have disturbing Problem,
My Page to contain 3 textbox with RequiredFieldValidator, too in page button and textbox user write code in textbox and click on button for search using code.
The problem is that it must do I Fill the required textbox before search. :sick:
Re: Ignore RequiredFieldValidator???
hay,
from its name it is a Required so you can not leave it blank,
you need to do it in code behind, or you can use javascript
Re: Ignore RequiredFieldValidator???
I want to make the property Enable in RequiredFieldValidator = False , and after search statment make it True. but no any code work Before full RequiredFieldValidator
Is there a solution?
Re: Ignore RequiredFieldValidator???
if you gonna do such a thing, then you will do it through the code it self
so, there is no need for the RequiredFieldValidator ,
and as i told you from its name it is Required
Re: Ignore RequiredFieldValidator???
Hello,
Are you talking about this property:
http://msdn.microsoft.com/en-us/libr...r.enabled.aspx
If so, then set this value to False as the default, so that it isn't enabled to start with. Then, after you do your search, and you post back to the server, set the value to True in your Code Behind.
Gary
Re: Ignore RequiredFieldValidator???
Re: Ignore RequiredFieldValidator???
I can not find a solution to the problem so far.
Problem, the page that I do filling the data the user can also search in self page.
when click user on button search, must fill registration form in page because textbox in registration form Required by RequiredFieldValidator.
i want button search pass from RequiredFieldValidator ????????
Re: [RESOLVED] Ignore RequiredFieldValidator???
Hello,
I think it would help if you show the ASPX markup/code that you are using, as well as a full description of what you want to happen on the page in question, and when.
Gary