Click here to Skip to main content
16,007,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a form with a ComboBox that provides a dropdownlist with loaded values from db.

Now the problem is when I am selecting a value from the combobox, the event dllTest_SelectedIndexChanged is not firing from code behind.

ASP.NET
<asp:DropDownList ID="dllTest" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dllTest_SelectedIndexChanged">


and I am calling the combobox from a jquery

HTML
$("#<%=dllTest.ClientID%>").combobox();


I tried
HTML
$('#dllTest').combobox();
and add the property of the dropdown ClientIDMode="Static" and still not working
Posted
Comments
Member 10476757 26-Jan-14 22:49pm    
$('#ddlTest').change(function() {});

1 solution

hi there.
remove all javascript codes and in the debug mode see event whats happen.
mybe it because of javascript codes.
 
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