I have dropdownlist as like below.
@Html.Awe().AjaxDropdown("BatchProg").Parent("ProgramIns","progSeq")
Then I have a create button as like below.
<button type="button" onclick="@Url.Awe().PopupFormAction().Url(Url.Action("Create")).Success("refreshGrid")" class="awe-btn">Create</button>
I want to pass selected dropdown value as a parameter in create button . How do I do that.
Ex
<button type="button" onclick="@Url.Awe().PopupFormAction().Url(Url.Action("Create",new {batchseq=1})).Success("refreshGrid")" class="awe-btn">Create</button>
@Html.Awe().AjaxDropdown("BatchProg").Parent("ProgramIns","progSeq")
Then I have a create button as like below.
<button type="button" onclick="@Url.Awe().PopupFormAction().Url(Url.Action("Create")).Success("refreshGrid")" class="awe-btn">Create</button>
I want to pass selected dropdown value as a parameter in create button . How do I do that.
Ex
<button type="button" onclick="@Url.Awe().PopupFormAction().Url(Url.Action("Create",new {batchseq=1})).Success("refreshGrid")" class="awe-btn">Create</button>