1
Reply

How to get DropDownList SelectedValue in Controller in MVC?

Ask a question
Nirmal Roy

Nirmal Roy

8 years ago
230
1
How to get DropDownList SelectedValue in Controller in get method without page load in MVC?
 
@Html.DropDownList("insitudename", ViewBag.insitudename as List<SelectListItem>, "Select Institute", new { @class = "form-control", onchange = "student_verification(this.value);" })
 
[HttpGet]
public ActionResult student_verification(MdStdNew objst, string stateId)
{
 return View(objst);
 
 
but in this selected drop down list item data is not binding in a table . why??
 i have use json method also. bt data is not binding in a table in mvc. 
can some one help me? 

Answers (1)