I have a dropdownlist with users names and a button that supposed to change the values on the page when clicked on.
My button code behind c#
Response.Redirect("~/MembersArea/01-Admin/02-EMS-Staff/15-StaffSystemInfo.aspx?p=" + ddlMembers.SelectedValue);
Dropdownlist and button
<asp:Button ID="btnGetP" runat="server" Text="Get Permissions"
CssClass="emsafrica-button" Width="170" onclick="btnGetP_Click" />
</div>
<div class="emsafrica-layout-cell layout-item-2" style="width: 50%" >
<asp:DropDownList ID="ddlMembers" runat="server"
DataSourceID="SqlDataSource2" DataTextField="Name"
DataValueField="StaffID">
</asp:DropDownList> ...
Go to the complete details ...