Example   Source
  Menu  | 
<<
>>
 |  Run as  
If you want complete control over the population of a dependent lookup you can use the onFieldValueChanged event to call your own server-side code by via a WebMethod and returning an array which can be passed to the refreshListOptions method. The sample also uses the onRecordSelected event to call the same WebMethod to initiaize the dependent drop-down correctly when the record is initially selected.