One of my clients wants a set up multiple dropdown lists as a set of outbound links (yes, I cringed too, but he does have his reasons…).
There are 3 dropdowns, each one pertaining to its own group of links. When each dropdown has its SelectedIndexChanged, it then redirects based on the choice made. However, lets say I make a choice in the second dropdown. It goes to the proper link. If I then choose a link in the first dropdown, it goes to the proper link. Then if I select a link in the third dropdown, it will go to the link specified in the choice I made in the FIRST dropdown.
How can I code it so that it will always select the most recent selection?
I’m not sure I totally understand your question, but I’ll risk an answer. The question is not so much about cascading dropdownlist, more then retaining the last dropdown used and its value.
You could simply use an input hidden to store “Last_value” and “Last_DropDownID”
You could also store those in the session or a cookie. Database even.