Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an aspx page which contain some dropdowns in those dropdowns autopost of first dropdown is working fine but the autopost back of second dropdown is not working . i have write c# code in aspx page in script section of page means i dont have code behind file i have code and design on same page(aspx). please give me solution to that . why this selectedIndexChanged Event not firing of second Dropdown list . i dont have any ajax code or update pannel on my page still this autopost back is not working .

my code of both dropdown is given bellow one is working fine but second one is not working .
ASP.NET
<asp:DropDownList ID="project" runat="server"
AutoPostBack="True" OnSelectedIndexChanged="Project_SelectedIndexChanged" Height="16px">
</asp:DropDownList>
<tr id="row2">
<td nowrap>
<span class="lbl" id="org_label"  runat="server">Organization: </span>
<td nowrap>
<span class="stat" id="static_org"  runat="server"></span>
<asp:DropDownList ID="org" runat="server"
AutoPostBack="True" OnSelectedIndexChanged="org_SelectedIndexChanged" Height="16px">
</asp:DropDownList>

in this project dropdown is working fine but org dropdown do not fire autopost back and not go to define event after selection changed.
Posted
Updated 1-Feb-16 19:39pm
v7
Comments
Gunaprasad Shetty 2-Feb-16 7:29am    
Please post your code behind for the same

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