The Dvelop Combo can be loaded with a default value.
For example, if we have Countries like “Canada”, “México” and “Tailandia” in a DvelopCombo, and if we select “Mexico” as a country, we want to load the city “Ciudad de México” by default. For this, we can follow the next steps:
First, we can define two transactions as follow:
Next, we define the attributes CountryId and CityId like DvelopCombo:
Finally, if we already know the CityId of a specific country, in our example "México", we can set a default value to the City field "Ciudad de México".
In this case, we need to configure the event Combo_CountryId.OnOptionClicked, setting the values for CityId:
The Dvelop Combo can be loaded with a default value.
For example, if we have Countries like “Canada”, “México” and “Tailandia” in a DvelopCombo, and if we select “Mexico” as a country, we want to load the city “Ciudad de México” by default. For this, we can follow the next steps:
First, we can define two transactions as follow:
Next, we define the attributes CountryId and CityId like DvelopCombo:
Finally, if we already know the CityId of a specific country, in our example "México", we can set a default value to the City field "Ciudad de México".
In this case, we need to configure the event Combo_CountryId.OnOptionClicked, setting the values for CityId:
The result is this:
1 Votos
0 Comentarios
Iniciar sesión o Registrarse para publicar un comentario