网页按钮 [英] web button
本文介绍了网页按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
一个简单的网页按钮问题:
你如何做到这一点,以便当某人点击< b
时触发网页按钮的点击事件;输入>在网络表单上?
,即页面上有三个输入框和一个网页按钮。当按下
时,会发生回发,但不会触发任何事件。
A simple web button question:
How do you make it so that a web button''s click event is triggered when
someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is
pressed, a postback occurs, but no events are triggered.
推荐答案
嗨
你的意思是这个????
private void Button1_Click(对象发送者,System.EventArgs e)
{
Response.Write(" br>< br> Hello< br>");
}
这是在C#中我希望它对你没问题
确保你使用的是WEB SERVER CONTROL
而不是HTML按钮。
" Alex B" <无********* @ sparmerio.com>在消息中写道
news:ea ************** @ TK2MSFTNGP10.phx.gbl ...
Hi
you mean this ????
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write("<br> <br> Hello <br>");
}
This is in C# i hope it''s fine for you
Be sure you are using a WEB SERVER CONTROL
and not an HTML push button.
"Alex B" <no*********@sparmerio.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
一个简单的网页按钮问题:
如何在某人点击< enter>时触发网页按钮的点击事件。在网络表单上?
即页面上有三个输入框和一个网页按钮。当按下Enter键时,会发生回发,但不会触发任何事件。
A simple web button question:
How do you make it so that a web button''s click event is triggered when
someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is
pressed, a postback occurs, but no events are triggered.
您好
>
你的意思是这个????
private void Button1_Click(object sender,System.EventArgs e)
{
Response.Write("< br>< br> Hello< br>");
}
这是在C#中我希望它对你没问题
确保你使用的是WEB SERVER CONTROL
>
而不是HTML按钮。
" Alex B" <无********* @ sparmerio.com>在消息中写道
news:ea ************** @ TK2MSFTNGP10.phx.gbl ...
Hi
you mean this ????
private void Button1_Click(object sender, System.EventArgs e)
{
Response.Write("<br> <br> Hello <br>");
}
This is in C# i hope it''s fine for you
Be sure you are using a WEB SERVER CONTROL
and not an HTML push button.
"Alex B" <no*********@sparmerio.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
一个简单的网页按钮问题:
如何在某人点击< enter>时触发网页按钮的点击事件。在网络表单上?
即页面上有三个输入框和一个网页按钮。当按下Enter键时,会发生回发,但不会触发任何事件。
A simple web button question:
How do you make it so that a web button''s click event is triggered when
someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is
pressed, a postback occurs, but no events are triggered.
Alex B写道:
Alex B wrote:
一个简单的网页按钮问题:
如何在某人点击< enter>时触发网页按钮的点击事件在网络表单上?
即页面上有三个输入框和一个网页按钮。当按下Enter键时,会发生回发,但不会触发任何事件。
A simple web button question:
How do you make it so that a web button''s click event is triggered when
someone hits <enter> on a web form?
i.e. the page has three input boxes on it and a web button. When enter is
pressed, a postback occurs, but no events are triggered.
嗨。这已在前面讨论过。以下是过去的一些讨论:
http:// groups .google.com / groups?as_q ...& num = 100& hl = en
Ben
Hi. This has been discussed before. Here are some of the discussions in
the past:
http://groups.google.com/groups?as_q...&num=100&hl=en
Ben
这篇关于网页按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文