Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys..
I have multiple dropdownlist in my ASP .net web form. I just want to filter the data access based on the values selected from one or more dropdwonlist.
Let me know ASAP.
Thanks!!!
Posted
Comments
m@dhu 24-Jan-11 23:50pm    
Any effort did you try anything?

Google for Cascading dropdown.

What you need is to fill the other dropdown based on previous drodown selected value. For this, you can use Javascript, AJAX UpdatePanel, AJAX PageMethod, Client Callback or a normal postback.

Give a try, if you face any specific issue while doing it, do share with us.
 
Share this answer
 
Comments
Ankur\m/ 25-Jan-11 0:30am    
This is your 3333 answer in Q&A. Outstanding man!
Cheers! :)
Define OnSelectedIndexChanged event of the dropdown. Make sure you turn AutoPostBack="true"and in the code behind get the selected value and retrieve the dataset result based on user's selected value and then refresh the datasource. Makes sense?
 
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