Hi All,
I am trying to do a simple check. I have 2 dropdownlists A and B.
I am trying to check whether the Selected Item in B exists in Dropdownlist A using the code below.
Code:
if (A.Items.Contains(B.SelectedItem))
However this is never working, even if the condition is true.
Any thoughts?