PDA

View Full Version : Is ComboBox supposed to show the selected item?


Stobe
08-18-2008, 10:01 AM
Hello,

I searched through pages and pages of ComboBox threads, but didn't find my answer (although it should be a quick one)

I've got a CB that during preload is using ComboBox.SetSelected to set the selected item to (for example) 4.

When the page loads, the CB shows the drop down list with the starting number (1) showing in the CB.

Do I have to do something else to have it actually show the selected item?

Thanks,
Stobe

bule
08-18-2008, 11:00 AM
AFAIK, you can not modify a ComboBox on the page's preload event.

Teqskater
08-18-2008, 11:38 AM
with other words: you need to place your ComboBox.SetSelected on the on show event for example.

Stobe
08-18-2008, 11:54 AM
Thanks. I found that after typing the original message, but wanted to make sure there wasn't another way that I was missing.

Thanks again!