Click here to Skip to main content
15,913,467 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i want a dropdown list on the condition f radio button list

exampl
radiobtn1 company
radibtn2 indivisual

if usr create compny radiobutton then in dropdownlist all company name will be shown if he click indivisual then the dropdownlist will be hide
Posted

1 solution

Put both the radio buttons in same group.
Write a code on radio button change event. If value is 0 then bind the dropdown list and show the dropdown list and if value is 1 then hide the dropdown list.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900