This is a migrated thread and some comments may be shown as answers.

[Solved] Cascading dropdownlist

0 Answers 53 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bill
Top achievements
Rank 2
Bill asked on 27 Feb 2013, 03:49 AM
I want to be able to have let's say two dropdownlists where the data retrieved from the second dropdownlist depends on the selectedvalue of the first dropdownlist.

I know I would execute an html.beginform executing a specific action method in a controller for the first, but I can't figure out a way to do it based on that value for the second..

Can someone help me out and inform me how I can accomplish this please?

I also need a way to get the selectedindex of the item that was checked.

A code snippet would be greatly appreciated....
Tags
ComboBox
Asked by
Bill
Top achievements
Rank 2
Share this question
or