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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with radioButtons in ASP.NET

Status
Not open for further replies.

Weigand

Programmer
Apr 26, 2005
14
US
I am working on updating a web pledge form that's written in asp.net and some jscript. I am having some problems trying to use radio buttons. Here's the jist of what I'm trying to do:

Radio Button Group (no default selected)
• Pledge
• NoPledge

If Radio Button Group = null (no selection is made)
Required Field Validator
“Please select a radiobutton”

Onclick “Pledge” radio button
Display a dropdownlist of gifts

If dropdownlist = “” (no selection is made)
Required Field Validator
“Please select a gift”

Onclick “NoPledge” radio button
Hide dropdownlist of gifts

Is it possible to get radio buttons to behave like this? I am new to VB.net and working very hard to meet a deadline.

Any help would be greatly appreciated.
 
I see my psychic powers have reached you even before I posted! But incase there is still doubt, read the sig:

-Rick

----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top