W
Water Cooler v2
I am creating a LinkLabel control at runtime. How do I attach an event
handler to it?
Where's the delegate for the OnClick event? I see an OnLinkClicked
delegate but since it is protected, it won't let me set it to the
address of my own handler.
Do I have to inherit every control just because I want to create it
dynamically at runtime?
Bottomline: If I've created a control at runtime, how do I attach my
own event handler to it. I mean, I know the syntax but I see that the
delegates are all "protected."
handler to it?
Where's the delegate for the OnClick event? I see an OnLinkClicked
delegate but since it is protected, it won't let me set it to the
address of my own handler.
Do I have to inherit every control just because I want to create it
dynamically at runtime?
Bottomline: If I've created a control at runtime, how do I attach my
own event handler to it. I mean, I know the syntax but I see that the
delegates are all "protected."