Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RequiredFieldValidator not working properlly

Status
Not open for further replies.

josemauricio

Programmer
Sep 2, 2003
65
BR
Hello all!

In my system, there is a page with three dropdownlists. The second dropdownlist needs the value of the first one to be feed. So, the autopostback property of the first dropdownlist is set to true, and when the user selects any value of it, its SelectedIndexChanged event is triggered and there, the second dropdownlist is filled. The second and third dropdownlist must be selected to the user be able to submit the page. For that, I put a requiredfieldvalidator for each one that works fine... if no postback is triggered! If I select an option in the first dropdownlist, causing the postback of the page, when I try to submit the page with one or both others dropownlists option blank, nothing happens! Neither the postback or the validation. The page stays as if anything was done!

It seems like something very stupid is occuring, but I'm loosing a very important time with this and I fond out that is better ask for a little help with this.

So, does anyone knows what is happening?

Thanx a lot for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top