Hey all,
I have 2 drop down lists on a form. The values of list 2 need to be based on what the user chooses in list 1.
Is it possible to change these values on the fly? Fill it with certain data at runtime, then when the user makes a choice on list 1, modify the values of list 2 appropriately?
Furthermore, if they then go back and change their choice for list 1, I'd like to set list 2 to the default value.
So for example, when list 1 is clicked, it will auto post back. On postback, list 2 will be populated based on what list 1 says, and it will be set to it's default value (something like "select one").
Can anyone tell me if this is possible, and any problems I might run into? Thanks in advance
I have 2 drop down lists on a form. The values of list 2 need to be based on what the user chooses in list 1.
Is it possible to change these values on the fly? Fill it with certain data at runtime, then when the user makes a choice on list 1, modify the values of list 2 appropriately?
Furthermore, if they then go back and change their choice for list 1, I'd like to set list 2 to the default value.
So for example, when list 1 is clicked, it will auto post back. On postback, list 2 will be populated based on what list 1 says, and it will be set to it's default value (something like "select one").
Can anyone tell me if this is possible, and any problems I might run into? Thanks in advance