Web Appliation(Asp.net)中的按键事件 [英] Key press Event in Web Appliation(Asp.net)

查看:71
本文介绍了Web Appliation(Asp.net)中的按键事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是.net的新手.
如何在Web应用程序中编写按键事件.
我的问题是如何在标签中显示文本框数据.
请告诉我

致以问候
Sarath

Hi
I am new for .net.
How to write a keypress event in web application.
my question is how to display textbox data in label.
please tell me

With Regards
Sarath

推荐答案

[ ^ ]文章建议您可能需要在用Java脚本处理按键事件.
As this[^] article suggests you might need to implmenet something on the Javascript side to handle key press events.


您明白了

JavaScript字符代码(关键代码) [
You got it

Javascript Char Codes (Key Codes)[^]

Quote from page:
Press a key in the text box below to see the corresponding Javascript key code in label


请参见以下msdn
See below msdn
Control.KeyPress Event




这篇关于Web Appliation(Asp.net)中的按键事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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