Widget To Widget Communication Guide
Posted: August 3rd, 2022, 2:03 pm
With the new control events UI setup the widget to widget communication setup process has changed slightly. Here is a guide to two ways to have a open widget return a value to a page.
Using Event Controls:
Using Event Controls:
- On the webpage, setup a control to open the widget. This control will also receive the returned value and call the controller to use the returned value.
- On the widget, setup a control to call an event on the widget and pass the value to return to a parameter in the event.
- On the webpage, open the widget control event UI and have have it look for the event setup on the widget and call your update controller with it.
- On the webpage, setup a control with the left or right icon and use the lefticonclick or righticonclick in the control events UI to open the window.
- On the widget, setup a ReturnLink control. This control will do all the work for you and you just need to setup the the ReturnValue and HtmlId properties.