473,396 Members | 2,147 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,396 software developers and data experts.

What triggered this event?

Something is causing my DataGridView to raise a SelectionChanged event,
but I can't figure out what.

It's definitely not a user action, and it's not something I programmed
directly. It's obviously some side effect of something else I'm doing
with the DataGridView, but I can't figure out what.

I tried putting a break point in the SelectionChanged event handler,
and pressing the "step-out" button, but it didn't seem to take me
anywhere useful.

I'm stuck. Please advise.

Thanks,

-Dan

Dec 15 '06 #1
1 1109
inspect the value of sender in the event handler. It might tell you something
handy, otherwise, post the code that is running when this event fires.

--
Ciaran O''''Donnell
http://wannabedeveloper.spaces.live.com
"Daniel Manes" wrote:
Something is causing my DataGridView to raise a SelectionChanged event,
but I can't figure out what.

It's definitely not a user action, and it's not something I programmed
directly. It's obviously some side effect of something else I'm doing
with the DataGridView, but I can't figure out what.

I tried putting a break point in the SelectionChanged event handler,
and pressing the "step-out" button, but it didn't seem to take me
anywhere useful.

I'm stuck. Please advise.

Thanks,

-Dan

Dec 18 '06 #2

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

Similar topics

4
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text is in there) and there the struggle starts. I...
3
by: Yangtsi River | last post by:
Hi, in any event procudure,there is two paras:sender As Object, e As EventArgs, i copied them-not know what they are about, and my ASPX works. I guess the sender is the control by which I...
1
by: Steve Pan | last post by:
Hi all, When the text of textbox web server control is changed automatically (not entered), the TextChanged event is not triggered. Who can tell in this case which event will be triggered? ...
1
by: Jim Hubbard | last post by:
Why isn't the Keypress event of the System.Windows.Form.ToolStripComboBox triggered by hitting the Enter key? I cannot trap Keys.Enter or Keys.Return in the Keypress event.
5
by: Paal Berggreen | last post by:
I am involved with development of a Portal solution using ASP.NET 2.0 and WebParts. The WebParts framework use the default personalization providers, and the personalization data thus ends up in...
1
by: tomcarr1 | last post by:
What event is triggered in ASP.Net when you close the browser ? What event is normally used to trigger clean up stuff when going from one form to another or leaving the project?
2
by: =?Utf-8?B?YW5kcnl1aGE=?= | last post by:
I have a listbox and auto generated lb_SelectedIndexChanged event that handles lb.SelectedIndexChanged. The event obviously fires when I change the selectedIndex visually with a mouse and also...
5
by: Richard Maher | last post by:
Hi, Here I mean "User" in the Programmer or Javascript sense. I merely wish to programmatically trigger an Event. It would be absolutely fantastic if there was a (Form level?) ONUSEREVENT() and...
0
by: deviparimala | last post by:
Hi All, I'm trying to get the exit time of a process. But the event is not getting triggered when i'm closing the process. Below is the code which i have tried. Any help would do. ...
1
by: freeskier | last post by:
What event is triggered when a combobox is assigned a value? For example, what event is triggered for the combobox in this code: Dim intMenu As Integer intMenu = 2 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.