Link to home
Start Free TrialLog in
Avatar of jedwards_2
jedwards_2Flag for United States of America

asked on

Need to Disable Dropdown Box ASP.NET C# 2.0

I need to be able to disable multiple dropdowns when either dropdown has a value first.  This is for a reporting screen.  Example - if a user selects state, city and country needs to be disable
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

set the autopostback event for all the dropdowns
set the OnSelectedIndexChanged changed property for each dropdown and in that function for the event check if a value eg for state is set then disable the other 2 dropdowns and vice versa
Avatar of jedwards_2

ASKER

i thought i did that.  can you provide any examples?
ASKER CERTIFIED SOLUTION
Avatar of Anurag Thakur
Anurag Thakur
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial