Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my form i have two dropdownlist(DDL), first one is 'State' next one is 'City'.
In same page Gridview also using,in that i put edit button also for every row.
when i click the edit button the row values must be sent to their corresponding areas in the my form. That time DDL-state shows twice the selected value..

then how can i remove the repeted value in DDL.?
Posted
Comments
n.podbielski 28-Sep-12 9:26am    
Seems like your code is wrong since selects value in drop down twice. You should correct that.

1 solution

Take care of DDL on Edit button click. You can clear and re-add the list items. Or you can implement a check point while updating DDL items.
 
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