Page_Load is Evil(sitepoint.com)
submitted by wwb_99(870) 5 years, 4 months ago
Page_Load is Evil. And here is why.
4 comments |category: ASP.NET |Views: 21 Tweet
tags: Page_Load SitePoint Tips another
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
posted by madskristensen(8565) 5 years, 4 months ago 0
The points stated in the post are not valid. The Page_Load is not evil. It is what you can do with it that is, which also is what the author means. However, that doesn't make it evil. That's like saying constructors are evil because you can write 300 lines of code in them.
Reply
posted by luciolucio(0) 5 years, 4 months ago 0
I agree. Page_Load is not evil, you just have to know what's going on behind the scenes. Just as in the rest of ASP.NET, for that matter.
posted by johnrummell(1321) 5 years, 4 months ago 0
Page_Load is not evil ... it may be commonly misunderstood, but not evil.
posted by mikeon(5200) 5 years, 4 months ago 0
Page_Load is eveil. Use OnLoad instead :-). I don't like the concept of something being done automatically just because it has some special name!
All tags Your tags
Suggest a new category
dpeterson(1273)
Telerik(409)
fdub(381)
amit.jain(273)
BlackWasp(259)
RobertTheGrey(259)
jalpesh(252)
KodefuGuru(227)
KMillerr(226)
vijayst(223)