Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可以在 UC javascript 代码中触发事件吗?我在 UC 代码中有一个 javascript 函数,在该函数结束时,我想触发一个事件,该事件执行与 Genexus IDE 中的事件关联的代码。
像这样:
UC javascript代码:
function save() { ... trigger event myevent; }
在 Genexus 事件选项卡中:
Event myevent msg("Event triggered!") EndEvent
在用户控件定义中,您可以使用 GeneXus 代码定义事件。
该事件将在您想要从客户端随时触发。
UserControls - 文档(“事件”部分)