S
Slavcho
Hi all,
I have this problem:
A web control contains a child component exposed as a property, and the
component declares a few events. The event list in the VS property grid
correctly displays the child events under an expandable section.
However, double-clicking an event of the child component does not create
a handler in the code-behind, while it works for the top-level control.
Any ideas whether I should use attributes, a custom designer, or
something else to enable attaching a handler to the child component? It
seems the IDE has some support for this scenario, since it successfully
lists the child-component events.
Thanks for any hints.
I have this problem:
A web control contains a child component exposed as a property, and the
component declares a few events. The event list in the VS property grid
correctly displays the child events under an expandable section.
However, double-clicking an event of the child component does not create
a handler in the code-behind, while it works for the top-level control.
Any ideas whether I should use attributes, a custom designer, or
something else to enable attaching a handler to the child component? It
seems the IDE has some support for this scenario, since it successfully
lists the child-component events.
Thanks for any hints.