Click here to Skip to main content
15,912,504 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.NET
<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 don't want postback to happen. I want on client side.
Posted
Updated 10-Feb-14 18:43pm
v2
Comments
Ami_Modi 11-Feb-14 0:44am    
I don't want postback to happen. I want to do it on client side

You can use ajax to perform as per your requirement.

Kindly have a look at solved question HERE

and further helping links can be found HERE

Hope it will help. :)
 
Share this answer
 
I got beautiful ans Here.This is exactly what I wanted
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900