I have a dropdown list and I have a secondary thread starting in which I have to get the selected value of that dropdown list. It’s always returning null or empty string. Is there a way to get its value in the secondary string?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UI elements are owned by the UI thread. Never try to access or even modify these, as this is not a tread safe operation. Pass the values of the dropdown the the thread when you create it and use the copied values in the second thread.
Example: