Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In one of my dropdownlist I sort and bind 'panch_name' column from a sql table. Some names that are same appear in consequetive rows. For instance, 'hari' appears in index 109 and again another 'hari' apears in index 110. If I select the first 'hari through 'selectedindexchanged()' it works. And again If I want to select another 'hari' thats in index110 , it is not entering the 'selectedindexchanged()' function area and so my purpose is not solved. I am unable to select the second 'hari' of index110. I have used the following code. I know something wrong is there. Can anyone help me out.

XML
<asp:DropDownList ID="DropDownList2" runat="server"
          style="z-index: 1; left: 434px; top: 309px;  position: absolute; height: 20px; width: 145px"
          AutoPostBack="True" onselectedindexchanged="DropDownList2_SelectedIndexChanged"  >
    </asp:DropDownList>


Thanks.
Posted
Comments

1 solution

U must be select Different Values names .then only its triggered
 
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