文本框keydown事件在Asp.net [英] TextBox KeyDown Event in Asp.net

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

问题描述

我试图找到像windows应用程序在Asp.net KeyDown事件..我有几个文本框之后preSS内部文本框中输入我希望把重点放在保存按钮我怎么能实现它。

I am trying to find KeyDown event in Asp.net like windows application.. i have several TextBox after press enter inside textbox i want to focus on save button how can i achieve it.

推荐答案

是的,你可以做到这一点!你可以用asp面板了。

Yes, you can do this! You can use asp panel for it.

您粘贴文本框和按钮的HTML code ASP面板内,比 DefaultButton 集面板属性为您的按钮名称。

Paste you textbox and button html code inside asp panel and than set panel's property of DefaultButton to your button name.

这篇关于文本框keydown事件在Asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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