I have a web page in C# 2.0 that i made using studio 05. This page has a user control in it with a button on it. I want the page to be able to tell when the button in the user control is clicked.
Can this be done?
I googled it and found a few conflciting articles about what event bubbling is as opposed to event delegation. All of the sample code I found was for asp.net 1.1
Folks were adding event delegations in the code. Correct me if I'm wrong but that has changed significantly with the partial class code model, hasn't it?
I mean I can't even see my InitializeComponent code can I? Where is the rest of the partial class? Is it created in memory at runtime? If so how can I latch events on?
Can this be done?
I googled it and found a few conflciting articles about what event bubbling is as opposed to event delegation. All of the sample code I found was for asp.net 1.1
Folks were adding event delegations in the code. Correct me if I'm wrong but that has changed significantly with the partial class code model, hasn't it?
I mean I can't even see my InitializeComponent code can I? Where is the rest of the partial class? Is it created in memory at runtime? If so how can I latch events on?