学习表达......基本动作 [英] Learning Expressions...... basic action

查看:61
本文介绍了学习表达......基本动作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

...那么如何在表单上获取触发消息的提交按钮?

...so how do you get a submit button on a form to trigger a message onclick?

推荐答案

选择按钮,打开属性面板,单击在右上角看起来像闪电的图标(事件)中,在"点击"框中键入事件处理程序名称(您可以选择任何您喜欢的名称)。 按Enter键,这将打开
文件后面的代码并连接事件处理程序。 然后,您可以在单击事件上运行所需的任何代码。
Select the button, open the properties panel, click on the icon in the upper right that looks like a lightning bolt (Events), type an event handler name in the Click box (you can choose any name you like).  Press enter, this will open the code behind file and wire up the event handler.  You can then run any code you want on the click event.


这篇关于学习表达......基本动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆