<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Body" runat="server"> <asp:DropDownList ID="ddlPageSelector" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSelector_SelectedIndexChanged"> </asp:DropDownList> </asp:Content>
protected void ddlPageSelector_SelectedIndexChanged(object sender, EventArgs e) { Response.Write(ddlPageSelector.SelectedValue); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)