c# - How to pass parent view data when using partial view -
i have dropdownlist in parent view , when select value want save value , use when click button in partial view. if click button in partial view not have value of parent view. however, if move dropdownlist partial view works fine, keep in parent view. parent view (this dropdownlist is) <div class="btn-toolbar"> <div class="btn-group"> <button type="button" class="btn btn-primary" id="fetchprocessid">fetch process id</button> </div> </div> <div class="col-md-3" style="@displayadminlead"> <div class="dropdown div-inline"> @{ var envlist = new list<selectlistitem>() { new selectlistitem() {value = "oak", text = "oak"}, new selectlistitem() {value = "qa", text = "qa"}, new selectlistitem() {value = "prod...