Click here to Skip to main content
15,947,958 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
I am using an update panel to fill a dropdown on another dropdown selectionchanged event, but this event is not called when I use jQuery on the same page for autocompletion on a text box ?
Please help me in this.


My dropdown HTML source is this:
<asp:DropDownList ID="ddllocscheme" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddllocscheme_SelectedIndexChanged"
                                  CssClass="loginboxform" Width="150px">


another dropdown is like this:
 <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always" ChildrenAsTriggers="true">
 <contenttemplate>
 <asp:DropDownList ID="txtschemeno" runat="server" AutoPostBack="True" OnSelectedIndexChanged="txtschemeno_SelectedIndexChanged"
  CssClass="loginboxform" Width="150px">
 
</contenttemplate>
<triggers>
 <asp:AsyncPostBackTrigger ControlID="ddllocscheme" EventName="SelectedIndexChanged" />                                
</triggers>


and I use this jQuery script:
$(document).ready(function() {
    $("#<%=txtLDA.ClientID%>").autocomplete('LDSNo_List.ashx');
});
Posted
Updated 6-Mar-11 22:34pm
v2
Comments
Manfred Rudolf Bihy 7-Mar-11 4:35am    
Edit: Added pre code tags, minor spelling and grammar.
Sunasara Imdadhusen 7-Mar-11 4:45am    
Good question! my vote is 5

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