473,416 Members | 1,738 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,416 software developers and data experts.

Strange button / debugger behavior

So I have an existing webform with about seven buttons. The buttons do a
variety of tasks ranging from the simple response.redirect to a database
connection & update. User requirements dictated that I add a checkbox with
an autopostback to handle the checkchanged event. So I did. Upon
recompilation, I find in testing that the buttons on the page do not cause
their button.click events to be handled. The buttons still cause a postback,
but the events are never handled. "What the hell?", I says to myself, insert
breakpoint on Button1.click and then F5. Debugger shows nothing amiss and
steps through all the event code, executes and everything is happily ever
after in Button1 land. So I'm thinking that this was one of the inexplicable
things that sometimes happen. I start the app w/out a debugger and find
Button2 causes a postback, but no event code is executed. Repeat chapter 1
and find that all the buttons cause postbacks, but event code not fired.
UNTIL, of course, I step through each button's event code, then and only
then, will code be executed. So I did the obvious... Scratch my head while
pressing F10 a thousand times for each button, then asked some fellow app
designers. Now we all have dandruff, a working app, and no idea what is
going on here.

Now I ask you, wonderous message board who knows all and answers all, taken
into account the recent plague of locusts and death of all our firstborn
children, what could this mean???

PS. We are running VS 02.

Nov 19 '05 #1
0 822

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

Similar topics

7
by: Tyler Foreman | last post by:
Hello, I have a strange problem that occurs every so often in my application. It usually takes place when I hide one form and activate another. What happens is I get the following exception:...
6
by: Joseph Geretz | last post by:
Writing an Outlook AddIn with C#. For the user interface within Outlook I'm adding matching pairs of Toolbar buttons and Menu items. All of the buttons and menu items are wired up to send events to...
10
by: John Kraft | last post by:
Hello all, I'm experiencing some, imo, strange behavior with the StreamReader object I am using in the code below. Summary is that I am downloading a file from a website and saving it to disk...
8
by: FBM | last post by:
Hi there, I am puzzled with the behavior of my code.. I am working on a networking stuff, and debugging with eclipse (GNU gdb 6.6-debian).. The problem I am experiencing is the following: ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.