Navigation: DbNetComboCore >

Client-side API

 

 

 

 

 

Alongside the server-side Razor component it is also possible to interact with the client-side instance of the JavaScript object using the client-side API. Typically you will need to use the OnInitialized event to save a reference to the client-side control to that you can reference it in subsequent cliebnt-side API calls

 

Methods

 

getSelectedValues()

 

This method will return an array of the selected values in the list.

 

getSelectedOptions()

 

This method will return an array of the selected options (HTMLOptionElement) in the list.

 

getOptions()

 

This method will return an array of the options (HTMLOptionElement) in the list.

 

 

 

 

Copyright © 2023 DbNetLink