Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI all,

I am creating combo boxes dynamically and binding the list to each combobox.
In SelectedIndexChanged event of the function i am displaying the combo box values
to richtextbox.
Richtextbox is populating with all the combobox values correctly.

But the problem is, whenever i am selecting the values from anyone of the drop down.Then all the drop down values changing into the same value.

Please can suggest the code logic or idea for doing this..

Thanks in Advance!!'
Mohana
Posted

1 solution

Please do not get the value from the object of dropdown,which was dynamically created by you.


Get the sender object and type casting the sender to drop down object and set the value. From the object you can get and set the value.
 
Share this answer
 
Comments
Mohanapriya Ranganathan 13-Jun-12 6:37am    
can u explain with sum code logic?

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