I am new at asp.net. I have a dropdownlist which is populated in code behind. When I select any item from dropdownlist, it should populate two textbox and another dropdownlist according to data from table.
<asp:DropDownList runat="server" ID="dropDownExisting"></DropDownList><br />
<asp:TextBox ID="txtPromotion" runat="server" Width="77px" ></asp:TextBox><br />
<asp:TextBox ID="txtSubject" runat="server" Width="288px"></asp:TextBox><br />
<asp:DropDownList ID="dropDownType" runat="server">
<asp:ListItem>Monthly Newsleter</asp:ListItem>
<asp:ListItem>Webbinar Newsleter</asp:ListItem>
<asp:ListItem>Annoucement</asp:ListItem>
</asp:DropDownList>
I want it to be done on client side. Where do I have to provide database connectivity? Do I require to use ajax control like update panel? Or javascript will work well? I want it on client side.
Allen Scott
08-Dec-2014Simply you can do this in DropDown SelectedIndexChanged Event
SelectedIndexChanged
Edit
Code Behind:
C#:
Anonymous User
08-Dec-2014Clients ide coding using JavaScript
.aspx
.cs