Form designer: How to bind a read-only text field to a global list

When a user select an item in a drop-down list that is bound to a global list, then a read-only text is updated with the value of another column of this global list. In the following sample, the list contains the alpha-2 code as the value and the read-only text contains the alpha-3 code.

  1. Create a drop down list bound to a global list.

  2. Call a method on the OnSelectedIndexChange event and set the Autopostback event to true.

  3. Create a read-only text with the ID COUNTRY_ALPHA3.

  4. In the .NET code, add the following code to bind the read-only text to the global list on the SelectedIndexChange event.