How to use Simple Ajax Beginform in Asp.net MVC 4? [closed]

Simple example: Form with textbox and Search button. If you write “name” into the textbox and submit form, it will brings you patients with “name” in table. View: @using (Ajax.BeginForm(“GetPatients”, “Patient”, new AjaxOptions {//GetPatients is name of method in PatientController InsertionMode = InsertionMode.Replace, //target element(#patientList) will be replaced UpdateTargetId = “patientList”, LoadingElementId = “loader” // … Read more