<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged" Width="150px"> <asp:ListItem>Select Calendar</asp:ListItem> <asp:ListItem>Semester</asp:ListItem> <asp:ListItem>Quarter</asp:ListItem> </asp:DropDownList>
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { //TextBoxCal.Text = ["Calendar"].ToString(); }
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { TextBoxCal.Text = DropDownList1.SelectedValue; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)