cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Praveen_Durbha
Level 6

Defaulting the US State ComboBox to one default State

I am autopopulating the US state combo box when the country selected is US. But I want the state combobox to always be pre-populated with "ALABAMA" (for alphabetical order).. Here is the code that gets executed when the country selected is US.

ISComboBox state_list = arg0.getISContainer().getComboBoxControl("insite2_state_list"); //Get a handle on the US state list combo box

state_list.getSelectedVariable().setValue("ALABAMA"); //Default it to ALABAMA.


This doesn't work..any thoughts?

Thanks
Labels (1)
0 Kudos
(2) Replies
jweber
Level 6

Try calling refreshExtendedProperties on the control...
0 Kudos
Praveen_Durbha
Level 6

Thanks, it worked...you have been a great help!
0 Kudos