any idea about asynchronous drop downlist, on selected item of drop downlist with out causing server round trip how can we populate selected item into textbox.(with out postback or callback)

Hey Use AJAX Extension controls .Which are available at .Download and install and use it.DOcumentation also there you can download it use it.

coming to your problem I solved using AJAX controls as

<script runat="server">

    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
        TextBox1.Text = DropDownList1.SelectedItem.Value;

<html xmlns="" >
<head runat="server">
    <title>Untitled Page</title>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                    <asp:ListItem Selected="True">first_item</asp:ListItem>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>


I think this works

Edited 3 Years Ago by mike_2000_17: Fixed formatting

aravindkishore, please use code tags when you post code. :icon_wink:

Edited 3 Years Ago by pritaeas: Fixed formatting

yes i had installed AjaxToolKitExtender.vsi other than update panel i can see all controls

This article has been dead for over six months. Start a new discussion instead.