Assume that I have a dropdown with 2 items and by default, the first item is selected. If I select the click the first item in the dropdown, is there a way I can get the selectedIndexChanged event to still fire?
Can I do it by setting the SelectedIndex of the Dropdown to -1, for example?
Well that didn't work, lol, because it does not display the currently selected value, so it is misleading.
An issue I have on this is that the dropdown is used for sorting. I have the sorting semi-working in that if I select the second item, it will sort in ascending order for example, but if I want to sort in descending order now using the second item, i have to select another item and then go back to the second item.
Even if I add a Select By... I think the best solution to sorting is to just have more items in the dropdown like:
Sort Numbers (Asc)
Sort Numbers (Desc)
Sort Alphabet (Asc)
Sort Alphabet (Desc)
Thanks, XaiSoft