DKode,
Nope, that's pretty much it. An event in an ASP.NET page is the same as
an event anywhere else in C#, and the way you attach to events is using the
+= syntax when you want to hook up to the event.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"DKode" <dk***@cfl.rr.com> wrote in message
news:b1************************@posting.google.com ...
Just curious,
What is the proper way to add event handlers for web controls in a
ascx/aspx page in csharp?
The way I've been doing it up until this point is adding the +=
eventhandler in the Page_Init method.
Is there a more effecient way/proper way to do this?
thanks