Well, I've heard that there's a performance hit associated witht he
automatic hook up. It's probably quite trivial and I'd consider that an
unecessary micro-optimization. The real reason I do it is because
AutoWireUp is too obscur. It abstracts away well a understood and
established model - overriding and calling the base implementation. This can
lead to subtle bugs (in 1.1 a lot of people have page_load mysteriously fire
twice) as well as a harder-than-necesasry code to maintain. I've changed
my default templates so that AutoWireUp is false and my codebehind
automatically has the override code...so it's doesn't take me any more time.
I just don't see why this one case should be different than everything else
karl
--
http://www.openmymind.net/ http://www.fuelindustries.com/
"Laurent Bugnion" <ga*********@bluewin.ch> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Karl
Karl Seguin [MVP] wrote:
Many of us prefer a different approach, set AutoWireUp to false and
override the onLoad event..
Karl
I would be interested to know what the advantages are to wire your events
yourself, instead of using AutoWireUp. Can you elaborate?
Thanks a lot,
Laurent