Apr 11, 2013, 3:13 PM
[CLOSED] Best Way to Extend a ComboBox inherited Control
Good Afternoon all
I wrote my first ComboBox implementation. The function is quite simple, enter a ZIP code and display the Zip Code formatted as '{ZIP} - {CITY}'.
Works fine so far. The Search looks link your Example https://examples2.ext.net/#/Form/Com...Custom_Search/.
Now my problem.
-> I want to set the Value 'ZIP' and call the Service to grab the CITY from the Database. This Function must be available from Code Behind and also from JS.
I await this things to be done after calling the Method :
What's the best approach to solve this Problem, what do you think ?
Peter
I wrote my first ComboBox implementation. The function is quite simple, enter a ZIP code and display the Zip Code formatted as '{ZIP} - {CITY}'.
Works fine so far. The Search looks link your Example https://examples2.ext.net/#/Form/Com...Custom_Search/.
Now my problem.
-> I want to set the Value 'ZIP' and call the Service to grab the CITY from the Database. This Function must be available from Code Behind and also from JS.
I await this things to be done after calling the Method :
- The displayed Text should look as described above.
- The Value of the ComboBox should set to a value I receive from my Service Method (basically the RecordID of the City found in the DB)
What's the best approach to solve this Problem, what do you think ?
Peter
Last edited by Daniil; Apr 16, 2013 at 5:35 AM.
Reason: [CLOSED]