endregion

}

}

compiled and deployed/load all related files for debug.

when run debug mode, after select a country it does went inside countryidValueChanged method and did step over _stateid.ResetDataSource() as expected, but State Abbriviation list still listing the same default values list

Is there anything else I've missed? I'm stuck on this for couple days try to make it work but no luck so it's time to ask a question. Thank you Mydieu

is there a reason you call the following
_addressstateid.GetItemFromValue(addresscountryid);
_addressstateid.ResetDataSource();
2 times?
1st time in the else case of SelectCountry function;
2nd time from addresscountryidValueChanged after they both get call from SelectCountry?

Looks like you solved the issue. For the record, the codegen files are a reflection of the XML at the time the ui wizard was first executed. If you change the catalog spec, you can load it and use Tools>Refresh UI Model to re-generate the codegen files.