Saturday, March 24, 2012

Validation problem

This really isn't an ADO.NET question, Hasan. You might perhaps get a more

definitive answer in an ASP.NET forum. Off-hand though, I think you may be

able to get the behaviour you want if you set the CausesValidation property

of your search button to False.

--

Brendan Reynolds (MVP)

wrote in message

news:68d4e511-2603-4dca-886a-1babd2e9cc45@dotnet.itags.org.discussions.microsoft.com...

> Hello again:

> I put requiredFieldValidator controls on Entry Textboxes. When I enter

> the criteria to search in the search box, the requiredFieldValidators

> become activated. The search does not work unless I fill out the all

> validated textboxes. The Q? here, what is the relation between the

> validated textboxes and a different event handler which is a search

> button and a textbox? (Web application).

>Hello again:
I put requiredFieldValidator controls on Entry Textboxes. When I enter the criteria to search in the search box, the requiredFieldValidators become activated. The search does not work unless I fill out the all validated textboxes. The Q? here, what is the relation between the validated textboxes and a different event handler which is a search button and a textbox? (Web application).
Thanks Brendan , i will try .

No comments:

Post a Comment