Refresh MultiSelect control
Hello
I Want to Reload Multiselect contol On page on client side by executeRequest of type crt.LoadDataRequest
but Cant Find it DataSource name
Like
The data source name is [MultiSelectName]_List_Items_DS
So for a multiselect named "MultiSelect_iumwf1c", the data source name is "MultiSelect_iumwf1c_List_Items_DS"
BTW, the best way to find this out is to add a request handler for "crt.LoadDataRequest" and output to console if request.dataSourceName.includes("MyControlName")
Ryan
The data source name is [MultiSelectName]_List_Items_DS
So for a multiselect named "MultiSelect_iumwf1c", the data source name is "MultiSelect_iumwf1c_List_Items_DS"
BTW, the best way to find this out is to add a request handler for "crt.LoadDataRequest" and output to console if request.dataSourceName.includes("MyControlName")
Ryan
thanks but I need to refresh values selected on control not List of Available lookup values
Tomasz Sobkowicz,
I see. It looks like that control works in the same way that the classic multi-select and performs individual inserts/deletes on save rather than bind to a data source. I've not tried to find it in the minified source to see if there's some other request to cause it to reload.
Ryan