How to pass dropdownlist selected value to the action in MVC3

Posted by Anonymus under ASP.NET on 8/26/2012 | Points: 10 | Views : 3122 | Status : [Member] | Replies : 2
HI,
I am having a dropdown list which has hardcoded values ( we need it hardcoded only and will not be populated from the database)
My question is when i select a particular value it should be pass to the action.
My action is getting called however, i am not sure how to pass the selected value to the action. Please can any one please help me out...

Regards,
Anonymus



Responses

Posted by: Shameer.Ali87 on: 8/27/2012 [Member] Starter | Points: 25

Up
0
Down
just make a bit clear of your action...
tell what type of action you actually want to do?

shameer ali shaik

Anonymus, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anonymus on: 8/27/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Shameer,
My action I mean the controllers action. I have an action named GetDetails(). This action of the controller is getting called when I select any value from drop down list and click on search. however, i am unable to send the selected value to this action so that further processing can be done based on the arguments received.

Please help..

Regards,
Anonymus

Anonymus, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response