Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
31382 Points
5424 Posts
Mar 03, 2012 09:53 AM|LINK
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>Others</asp:ListItem> <asp:ListItem Selected="True">A</asp:ListItem> <asp:ListItem>B</asp:ListItem> <asp:ListItem>C</asp:ListItem> </asp:DropDownList> protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { Response.Write(this.DropDownList1.SelectedValue); }
karthicks
All-Star
31382 Points
5424 Posts
Re: selectedindexchanged
Mar 03, 2012 09:53 AM|LINK
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>Others</asp:ListItem> <asp:ListItem Selected="True">A</asp:ListItem> <asp:ListItem>B</asp:ListItem> <asp:ListItem>C</asp:ListItem> </asp:DropDownList> protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { Response.Write(this.DropDownList1.SelectedValue); }Karthick S