Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Usercontrol events
Message
De
20/07/2004 15:40:39
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Usercontrol events
Divers
Thread ID:
00926275
Message ID:
00926275
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform