I am interested in using cascading dropwonlists in razor mvc.I have a table "samplecri" in database "BFDb" which i worked in sqlserver. I have imported that database as model into my application.
The table has following fields: sportname,gametype,country, team1 and team2.
Question Explanation : When the user selects sportname ,ex: cricket,gametype dropdownlist should be updated from the table which will be as 'Domestic' and 'International'. Then the user selects the Gametype, Ex:'Domestic', country dropdownlist should be updated stating where Domestic games are played and finally team1 and team2 dropdownlist should be updated with the teams available in that country.For example domestic teams in australia are Queensland,NSW Blues, Southern redbacks etc...
I searched in SO. I could see the similar answers but not the way i imported the model from sqlserver. Can anyone help ????