Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Usercontrol events
Message
From
20/07/2004 15:40:39
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Usercontrol events
Miscellaneous
Thread ID:
00926275
Message ID:
00926275
Views:
54
I created a grid class in code, and decided to migrate it to a UserControl container, so I could drop it on forms. I'm trying to capture a doubleClick event on the grid, from the form itself.

Like this:
this.selectionGrid1.DoubleClick += new System.EventHandler(this.selectionGrid1_DoubleClick);
With an appropriate method in the form.

However, this only fires when the userControl container is doubleClicked...not the grid that is inside the container.

What is the solution to this? Do I somehow raise an event inside the grid of the usercontrol itself?

< update >
Event bubbling may apply here; looking for an example that will do the trick.

Hoping My Question is Clear,
Steve Gibson
Next
Reply
Map
View

Click here to load this message in the networking platform