失去事件处理 [英] Loss of event handling

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

问题描述

在尝试重新格式化网页时,我将控件移动到一个框架中,然后

然后当它没有好处时,我按照与
$ b $相同的顺序替换了aspx b之前。当我执行CTL-X时,处理程序失去了处理能力。

我已经替换了处理条款但没有任何反应(不完全是

正确 - 一些下拉列表已填充)和没有办法调试。

将断点放在填充下拉的地方没有结果

正在发生。


这是我的第一个asp.net项目,事情进展不顺利。作为一个快速的b
开发系统,有几个漏洞。


如果您有任何想法请?

解决方案

此外,网页已经从一秒钟内加载到

加载大约30秒。

我已停止/启动IIS并重建了网页。


帮助????

" Lloyd Sheen" <平方******************* @ tostopspamhotmail.com>在消息中写道

新闻:a7 ************ @ twister01.bloor.is.net.cable.r ogers.com ...

为了重新格式化网页,我将控件移动到一个框架中,然后当它没有好处时,我就像之前那样用相同的订单
替换了aspx。当我做CTL-X时,处理程序失去了处理
的能力。我已经更换了处理条款但没有任何反应(不完全正确 - 一些下拉列表已经填充)并且没有办法调试。
将断点放在填充下拉的地方什么也没发生

这是我的第一个asp.net项目,事情进展不顺利。作为一个
快速开发系统,有一些漏洞。

如果您有任何想法,请


此外,网页已经从加载到一秒钟内加载到

大约30秒。

我已停止/启动IIS并重建网页。


帮助????

Lloyd Sheen <平方******************* @ tostopspamhotmail.com>在消息中写道

新闻:a7 ************ @ twister01.bloor.is.net.cable.r ogers.com ...

为了重新格式化网页,我将控件移动到一个框架中,然后当它没有好处时,我就像之前那样用相同的订单
替换了aspx。当我做CTL-X时,处理程序失去了处理
的能力。我已经更换了处理条款但没有任何反应(不完全正确 - 一些下拉列表已经填充)并且没有办法调试。
将断点放在填充下拉的地方什么也没发生

这是我的第一个asp.net项目,事情进展不顺利。作为一个
快速开发系统,有一些漏洞。

如果您有任何想法,请


在回答你的处理程序问题:

如果你有一个文本框,处理程序是textbox_click(等)句柄

textbox.click


当您剪切文本框时,程序会保留在那里,但是'hanles

textbox.click''但是消失了。


Just回到你的程序并在那里添加handle子句。

当你说你把处理程序重新安装回来时,不确定这是不是你的意思。


至于调试问题。假设您正在调试中构建项目

模式。


加载问题可能是您需要给我的更多内容

信息。这是一个花时间的特定程序吗?


希望这会有所帮助。


史蒂夫


Lloyd Sheen <平方******************* @ tostopspamhotmail.com>在消息中写道

新闻:Le ************ @ twister01.bloor.is.net.cable.r ogers.com ...

此外,网页已经从一秒钟内加载到加载
大约30秒。
我已经停止/启动IIS并重建网页。

帮助????

" Lloyd Sheen" <平方******************* @ tostopspamhotmail.com>写在
消息新闻:a7 ************ @ twister01.bloor.is.net.cable.r ogers.com ...

在一个尝试重新格式化网页我将控件移动到一个框架中
然后当它没有好处时,我以相同的顺序替换了aspx


as

之前。当我执行CTL-X时,处理程序丢失了处理


功能。

我已经替换了处理条款但没有任何反应(不完全正确 - 一些下拉菜单已填充)并且没有办法调试。
将断点放在填充下拉列表的地方没有任何结果。

这是我的第一个asp.net项目,事情是不顺利。作为一个


快速

开发系统有几个漏洞。

如果您有任何想法,请



In an attempt to reformat the web page I moved controls into a frame and
then when that did no good I replaced then on the aspx in the same order as
before. When I did the CTL-X the handlers lost their handling capabilities.
I have replace the handling clauses but nothing happens (not totally
correct - some dropdowns are populated) and there is no way to debug.
Putting breakpoints where the dropdowns are populated result in nothing
happening.

This is my first asp.net project and things are not going well. As a rapid
development system there are a few holes.

Please if you have any ideas??

解决方案

Also the web page has gone from loading in under a second to loading in
about 30 seconds.
I have stop/startted IIS and rebuilt the web page.

HELP????
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:a7************@twister01.bloor.is.net.cable.r ogers.com...

In an attempt to reformat the web page I moved controls into a frame and
then when that did no good I replaced then on the aspx in the same order as before. When I did the CTL-X the handlers lost their handling capabilities. I have replace the handling clauses but nothing happens (not totally
correct - some dropdowns are populated) and there is no way to debug.
Putting breakpoints where the dropdowns are populated result in nothing
happening.

This is my first asp.net project and things are not going well. As a rapid development system there are a few holes.

Please if you have any ideas??



Also the web page has gone from loading in under a second to loading in
about 30 seconds.
I have stop/startted IIS and rebuilt the web page.

HELP????
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:a7************@twister01.bloor.is.net.cable.r ogers.com...

In an attempt to reformat the web page I moved controls into a frame and
then when that did no good I replaced then on the aspx in the same order as before. When I did the CTL-X the handlers lost their handling capabilities. I have replace the handling clauses but nothing happens (not totally
correct - some dropdowns are populated) and there is no way to debug.
Putting breakpoints where the dropdowns are populated result in nothing
happening.

This is my first asp.net project and things are not going well. As a rapid development system there are a few holes.

Please if you have any ideas??



In Answer to your handler question:
If you have a textbox and the handler is textbox_click (etc) handles
textbox.click

When you cut the text box the procedure stays there but the ''hanles
textbox.click'' but disappears.

Just go back to your procedures and add the handles clause back in there.
Not sure if this is what you meant when you said you had put the handlers
back in.

As for the debug question. Presumable you are building the project in debug
mode.

The loading question could be anything you''ll need to give me some more
info. Is it a particular procedure that is taking the time?

Hope this helps.

Steve

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:Le************@twister01.bloor.is.net.cable.r ogers.com...

Also the web page has gone from loading in under a second to loading in
about 30 seconds.
I have stop/startted IIS and rebuilt the web page.

HELP????
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message news:a7************@twister01.bloor.is.net.cable.r ogers.com...

In an attempt to reformat the web page I moved controls into a frame and
then when that did no good I replaced then on the aspx in the same order


as

before. When I did the CTL-X the handlers lost their handling


capabilities.

I have replace the handling clauses but nothing happens (not totally
correct - some dropdowns are populated) and there is no way to debug.
Putting breakpoints where the dropdowns are populated result in nothing
happening.

This is my first asp.net project and things are not going well. As a


rapid

development system there are a few holes.

Please if you have any ideas??




这篇关于失去事件处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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