Dialog API runs in JavaScript, but the values you want to display in a dropdown often come from a database. The solution is to retrieve those values on the server, pass them to JavaScript with setProxyValue(), and then use them as the lookup options in your dialog.
The process has three steps:
- Query the database and build an array of lookup values.
- Pass that array to JavaScript using setProxyValue().
- Use the resulting proxy value as the Dialog API lookup options.
This approach works in both PHPRunner and ASPRunner.NET. The server-side code is different, but the Dialog API JavaScript is the same.
Continue Reading "Populate Dialog API Dropdowns from a Database in PHPRunner"







