PDA

View Full Version : Question on Custom Control Event Handling


LiLo
02-16-2006, 06:57 AM
Not sure if its the correct forum but it is about programming in vb.net.

Regarding a custom webparts control, are the avaliable events limited to the events of the controls it has?

I have a webparts control which contains a list control,a label control and a context menu. When the user right clicks on the custom webparts control, the context menu is supposed to appear. However, the label and list control do not support the rightclick event. Hence, i am unable to raise the rightclick event in the vb editor. :(

Is it possible to raise an event for a custom control where the event is not supported by the existing controls which the custom control contains?