A
Andy
Alright, I am beyond confused here and need some guidance. I need a
C# only sample. I have a simple Page and within it i am creating a
user control (ascx). The user control contains textboxes, buttons,
ect. I would like to catch/add a handler/recieve the Button.OnClick
event from the buttons that are in the user control, in the Page.
How? As far as I can tell, my only route is to:
RaiseBubbleEvent in the Button.OnClick in the UserControl
Override the OnBubbleEvent in the UserControl
Override the OnBubbleEvent in the Page from the already Override(n)
UserControl
This is stupid. All I want a custom event, call it CustomEvent with
what ever signature I want, and I would like to allow the instance to
have the event CustomEvent override(n). Please help. I must be
missing the bus on this one...I can't seem to find a good C# sample
for what seems so common/trivial. TIA
C# only sample. I have a simple Page and within it i am creating a
user control (ascx). The user control contains textboxes, buttons,
ect. I would like to catch/add a handler/recieve the Button.OnClick
event from the buttons that are in the user control, in the Page.
How? As far as I can tell, my only route is to:
RaiseBubbleEvent in the Button.OnClick in the UserControl
Override the OnBubbleEvent in the UserControl
Override the OnBubbleEvent in the Page from the already Override(n)
UserControl
This is stupid. All I want a custom event, call it CustomEvent with
what ever signature I want, and I would like to allow the instance to
have the event CustomEvent override(n). Please help. I must be
missing the bus on this one...I can't seem to find a good C# sample
for what seems so common/trivial. TIA