I have a combo box, that unfortunately has 8000 + items in it. Retarded, I know, but what can I do.
Anyway there is a check box that selects all. But when I select it and go thru the for loop that selects every value it takes a good few seconds.
Is there a quicker way to select all?
A second question related to the same dropdown; I added in an extra feature that disabled the dropdown when I selected all. But for some reason in the code behind (C#) it doesn't recognise the values as being selected, this is probably due to the disabling...
So I want to disable the drop down but have the values selected. Any ideas? I think I saw someone on some site yesterday mention that I can do a different kind of disabling, but I'd also have to gray out the text so it appears to be disabled...
Anyway there is a check box that selects all. But when I select it and go thru the for loop that selects every value it takes a good few seconds.
Is there a quicker way to select all?
A second question related to the same dropdown; I added in an extra feature that disabled the dropdown when I selected all. But for some reason in the code behind (C#) it doesn't recognise the values as being selected, this is probably due to the disabling...
So I want to disable the drop down but have the values selected. Any ideas? I think I saw someone on some site yesterday mention that I can do a different kind of disabling, but I'd also have to gray out the text so it appears to be disabled...