Click here to Skip to main content
14,767,353 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

Please help me with my dropdownlist

In my asp.net app having two dropdownlists, for dropdownlist1 I'm filling data during page_load event but dropdownlist2 need to fill by passing dropdownlist1's selected value to database to fetch data.

Problem: I dont want to pass control to server on every selection of dropdownlist1, I can achive this in windows app by getting dataset in form load event and on selection change of DP1 I can fill DP2 but how can I achive this in asp.net

thanks in advance...
Posted
Updated 8-Sep-10 7:51am
v2
Comments
Dalek Dave 8-Sep-10 12:51pm
   
Edited for Grammar.

1 solution

You can do the same thing - just keep your retrieved data in a session variable, and only retrieve the data if the session variable is null.
   
Comments
b_rajmalla 8-Sep-10 12:49pm
   
Thanks john..

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