在Button的click事件中引起客户端JavaScript

void action1_Execute(object sender, SimpleActionExecuteEventArgs e) {
    WebWindow.CurrentRequestWindow.RegisterClientScript("test", "alert('test');");
}
原文地址:https://www.cnblogs.com/lsr-flying/p/4421544.html