473,408 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Loss of event handling

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??
Nov 17 '05 #1
9 1188
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??

Nov 17 '05 #2
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??

Nov 17 '05 #3
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??


Nov 17 '05 #4
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??


Nov 17 '05 #5
I have restored all handlers manually. The time is being taken in asp code
not code that I can profile in any way.

To do an experiment I have created a new Web project. I copied all controls
from the old to the new and copied the code. When I run the new project
things load quickly. Trying the old one it still takes up to one minute to
load the page that the new one takes one second.

It would seem to me any attempt to change either the layout type of the page
or to change in any way the order of controls, results in a page which is
taking alot of time to render.
"Steve Letford" <sl******@ems-global.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
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??



Nov 17 '05 #6
I have restored all handlers manually. The time is being taken in asp code
not code that I can profile in any way.

To do an experiment I have created a new Web project. I copied all controls
from the old to the new and copied the code. When I run the new project
things load quickly. Trying the old one it still takes up to one minute to
load the page that the new one takes one second.

It would seem to me any attempt to change either the layout type of the page
or to change in any way the order of controls, results in a page which is
taking alot of time to render.
"Steve Letford" <sl******@ems-global.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
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??



Nov 17 '05 #7
Can you put a breakpoint on the pageload to find out how many times it is
loading.

Also have you managed to debug yet.

Steve

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:wh************@twister01.bloor.is.net.cable.r ogers.com...
I have restored all handlers manually. The time is being taken in asp code not code that I can profile in any way.

To do an experiment I have created a new Web project. I copied all controls from the old to the new and copied the code. When I run the new project
things load quickly. Trying the old one it still takes up to one minute to load the page that the new one takes one second.

It would seem to me any attempt to change either the layout type of the page or to change in any way the order of controls, results in a page which is
taking alot of time to render.
"Steve Letford" <sl******@ems-global.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
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??
>
>



Nov 17 '05 #8
Can you put a breakpoint on the pageload to find out how many times it is
loading.

Also have you managed to debug yet.

Steve

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:wh************@twister01.bloor.is.net.cable.r ogers.com...
I have restored all handlers manually. The time is being taken in asp code not code that I can profile in any way.

To do an experiment I have created a new Web project. I copied all controls from the old to the new and copied the code. When I run the new project
things load quickly. Trying the old one it still takes up to one minute to load the page that the new one takes one second.

It would seem to me any attempt to change either the layout type of the page or to change in any way the order of controls, results in a page which is
taking alot of time to render.
"Steve Letford" <sl******@ems-global.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
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??
>
>



Nov 17 '05 #9
With the new project I can debug. The new page loads immediately. The old
project (all the same code and controls) takes mins to load and a breakpoint
on the page load shows it happens only once. I noticed in the code (behind
page) that there are variables for controls which had been deleted.
Deleting those references make no difference since the page still takes
forever to load.

I most certainly hope that every time a change is made to the page that this
problem does not occur again. I still have no idea why the original has
such a problem.
"Steve Letford" <sl******@ems-global.com> wrote in message
news:Oy**************@TK2MSFTNGP09.phx.gbl...
Can you put a breakpoint on the pageload to find out how many times it is
loading.

Also have you managed to debug yet.

Steve

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message news:wh************@twister01.bloor.is.net.cable.r ogers.com...
I have restored all handlers manually. The time is being taken in asp code
not code that I can profile in any way.

To do an experiment I have created a new Web project. I copied all

controls
from the old to the new and copied the code. When I run the new project
things load quickly. Trying the old one it still takes up to one minute

to
load the page that the new one takes one second.

It would seem to me any attempt to change either the layout type of the

page
or to change in any way the order of controls, results in a page which is
taking alot of time to render.
"Steve Letford" <sl******@ems-global.com> wrote in message
news:eh**************@TK2MSFTNGP10.phx.gbl...
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??
> >
> >
>
>



Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Pavils Jurjans | last post by:
Hallo, I have been programming for restricted environments where Internet Explorer is a standard, so I haven't stumbled upon this problem until now, when I need to write a DOM-compatible code. ...
1
by: Covad | last post by:
Hi all, For some reason my change() function is only called when the page loads. I'd much rather it gets called when the select changes. Here's the code: window.onload = init; function...
4
by: Eric | last post by:
How can I dynamically assign an event to an element? I have tried : (myelement is a text input) document.getElementById('myelement').onKeyUp = "myfnc(param1,param2,param3)"; ...
1
by: Barry Svee | last post by:
I'm struggling with the JavaScript blur event. I have an activex control that I need to interact with when a window loses focus, namely to instruct it to give up control of a barcode scanner so...
18
by: Christopher W. Douglas | last post by:
I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code...
8
by: Mark | last post by:
Hi, I'm looking for some ideas on how to build a very simple Event processing framework in my C++ app. Here is a quick background ... I'm building a multithreaded app in C++ (on Linux) that...
5
by: Sharon | last post by:
I have encountered with a most disturbing TCP problem: I have cases (too many of them) that result in data loss. Some inforamation on my test configuration: I have to PC's which are the same...
0
by: Lloyd Sheen | last post by:
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...
0
by: Greg Copeland | last post by:
According to the SQLAlchemy list, the DBAPI specification does not define a standard error reporting mechanism which would allow for generic detection of loss of database connection without DB...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.