W
waldenl
I've got a control on my page (in this case a repeater) that I want to
add an event handler to (in this case I want to handle ItemDataBound).
I know I could add the control declaritively, but to be honest, i'm
lazy and want VS 2005 to create the handler definition for me so I want
to use the += convention so it generates the handler stub. Where's the
"correct" place to put this code? In the Page_Load event?
I know it will probably work in several places, but I'm looking for the
"correct" place to use it.
-Walden
add an event handler to (in this case I want to handle ItemDataBound).
I know I could add the control declaritively, but to be honest, i'm
lazy and want VS 2005 to create the handler definition for me so I want
to use the += convention so it generates the handler stub. Where's the
"correct" place to put this code? In the Page_Load event?
I know it will probably work in several places, but I'm looking for the
"correct" place to use it.
-Walden