C
Chris Fink
I am using VS2008 Pro and having an issue with finding a partial classes
source code so I can modify an event handler that somehow got hosed up.
I have a simple web page that is loading a user control using the
Page.LoadControl method. This usercontrol has an asp:button that is not
firing when clicked, even though the button click event is clearly defined.
I am confident the problem is with the event wiring, however I cannot find
the partial class source code to check/fix this issue. My question is how do
I find and modify the user control's partial class?
If I create a new user control it works fine since the event handler has not
been hosed up like the old one. Although I have a solution, I'd like to find
the root of the problem and understand where the partial class code resides
and how to fix this directly.
Partial classes are handy, however, we still need the ability to work with
the generated code....rarely, but the need still arises.
Thanks
source code so I can modify an event handler that somehow got hosed up.
I have a simple web page that is loading a user control using the
Page.LoadControl method. This usercontrol has an asp:button that is not
firing when clicked, even though the button click event is clearly defined.
I am confident the problem is with the event wiring, however I cannot find
the partial class source code to check/fix this issue. My question is how do
I find and modify the user control's partial class?
If I create a new user control it works fine since the event handler has not
been hosed up like the old one. Although I have a solution, I'd like to find
the root of the problem and understand where the partial class code resides
and how to fix this directly.
Partial classes are handy, however, we still need the ability to work with
the generated code....rarely, but the need still arises.
Thanks