确定按下哪个按钮 [英] Determine Which Button Pressed

查看:93
本文介绍了确定按下哪个按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的页面初始化中,我正在为调查加载动态控件。在

调查中,我有一个停止按钮。如果用户单击停止按钮,由于页面生命周期为

,初始化和页面加载事件在

按钮单击并重新加载一堆控件之前运行。有没有办法通过按钮控件运行这些

事件。按钮的点击事件有

代码,用于保存用户在调查中的位置,我只想让它运行。谢谢。

In my page initialize, I am loading dynamic controls for a survey. On the
survey, I have a stop button. If the user clicks the stop button, because of
the page life cycle, the initialize and page load events run before the
button click and reloads a bunch of controls. Is there a way to keep these
events from running with a button control. The click event of the button has
code to save the user''s place in the survey and I only want it to run. Thanks.

推荐答案

你试过用asp.net 2.0下的Wizard组件来做这样的任务吗?


-


Bruno Alexandre

"葡萄牙人在K?benhavn,Danmark"


" Mike Collins" < Mi ********* @ discussion.microsoft.comescreveu na mensagem

新闻:BB ******************* *************** @ microsof t.com ...
did u tried use the Wizard component under asp.net 2.0 to do such task???

--

Bruno Alexandre
"a Portuguese in K?benhavn, Danmark"

"Mike Collins" <Mi*********@discussions.microsoft.comescreveu na mensagem
news:BB**********************************@microsof t.com...

在我的页面初始化中,我正在加载动态控件一项调查。在

调查中,我有一个停止按钮。如果用户点击停止按钮,因为

页面生命周期,初始化和页面加载事件在

按钮点击之前运行并重新加载一堆控件。有没有办法通过按钮控件运行这些

事件。按钮的点击事件



代码来保存用户在调查中的位置,我只想让它运行。
$ b $谢谢。
In my page initialize, I am loading dynamic controls for a survey. On the
survey, I have a stop button. If the user clicks the stop button, because
of
the page life cycle, the initialize and page load events run before the
button click and reloads a bunch of controls. Is there a way to keep these
events from running with a button control. The click event of the button
has
code to save the user''s place in the survey and I only want it to run.
Thanks.



我只使用ASP.Net 1.0。据我所知,没有巫师。


" Bruno Alexandre"写道:
I am only using ASP.Net 1.0. As far as I know, there is no wizard for that.

"Bruno Alexandre" wrote:

您是否曾尝试使用asp.net 2.0下的向导组件来执行此类任务???


- -


Bruno Alexandre

葡萄牙人在K ?? benhavn,Danmark


" Mike柯林斯" < Mi ********* @ discussion.microsoft.comescreveu na mensagem

新闻:BB ******************* *************** @ microsof t.com ...
did u tried use the Wizard component under asp.net 2.0 to do such task???

--

Bruno Alexandre
"a Portuguese in K??benhavn, Danmark"

"Mike Collins" <Mi*********@discussions.microsoft.comescreveu na mensagem
news:BB**********************************@microsof t.com...

在我的页面初始化中,我正在加载动态控件一项调查。在

调查中,我有一个停止按钮。如果用户点击停止按钮,因为

页面生命周期,初始化和页面加载事件在

按钮点击之前运行并重新加载一堆控件。有没有办法通过按钮控件运行这些

事件。按钮的点击事件



代码来保存用户在调查中的位置,我只想让它运行。
$ b $谢谢。
In my page initialize, I am loading dynamic controls for a survey. On the
survey, I have a stop button. If the user clicks the stop button, because
of
the page life cycle, the initialize and page load events run before the
button click and reloads a bunch of controls. Is there a way to keep these
events from running with a button control. The click event of the button
has
code to save the user''s place in the survey and I only want it to run.
Thanks.






re:

> ;我只使用ASP.Net 1.0。据我所知,没有巫师。
>I am only using ASP.Net 1.0. As far as I know, there is no wizard for that.



你在使用ASP.NET 1.0做什么?


至少你应该使用ASP.NET 1.1。

虽然每个人都应该至少测试ASP.NET 2.0。


Juan T. Llibre,asp.net MVP

aspnetfaq.com: http://www.aspnetfaq.com/

asp.net faq: http://asp.net .do / faq /

foros de asp.net,en espa?ol: http://asp.net.do/foros/

=================== ================

" Mike Collins" < Mi ********* @ discussion.microsoft.com写信息

新闻:CD ******************* *************** @ microsof t.com ...

What the h*ll are you doing using ASP.NET 1.0 ?

At the very least you should be using ASP.NET 1.1.
although everybody should be, at least, testing ASP.NET 2.0.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
"Mike Collins" <Mi*********@discussions.microsoft.comwrote in message
news:CD**********************************@microsof t.com...


>我只使用ASP.Net 1.0。据我所知,没有巫师。


" Bruno Alexandre"写道:
>I am only using ASP.Net 1.0. As far as I know, there is no wizard for that.

"Bruno Alexandre" wrote:

>你曾尝试使用asp.net 2.0下的Wizard组件来完成这样的任务吗?

-

Bruno Alexandre
葡萄牙人在K?benhavn,丹麦和麦克柯林斯一书< Mi ********* @ discussion.microsoft.comescreveu na mensagem
新闻:BB *********************** *********** @ microso ft.com ...
>did u tried use the Wizard component under asp.net 2.0 to do such task???

--

Bruno Alexandre
"a Portuguese in K?benhavn, Danmark"

"Mike Collins" <Mi*********@discussions.microsoft.comescreveu na mensagem
news:BB**********************************@microso ft.com...

在我的页面初始化中,我正在为调查加载动态控件。在

调查中,我有一个停止按钮。如果用户点击停止按钮,因为

页面生命周期,初始化和页面加载事件在

按钮点击之前运行并重新加载一堆控件。有没有办法通过按钮控件运行这些

事件。按钮的点击事件



代码来保存用户在调查中的位置,我只想让它运行。
$ b $谢谢。
In my page initialize, I am loading dynamic controls for a survey. On the
survey, I have a stop button. If the user clicks the stop button, because
of
the page life cycle, the initialize and page load events run before the
button click and reloads a bunch of controls. Is there a way to keep these
events from running with a button control. The click event of the button
has
code to save the user''s place in the survey and I only want it to run.
Thanks.







这篇关于确定按下哪个按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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