Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Page_Load or Page_Init (http://www.velocityreviews.com/forums/t20340-page_load-or-page_init.html)

Patrick Kristiansen 03-05-2004 06:26 PM

Page_Load or Page_Init
 
Hi group!

The Init-event on Page objects are as far as I know not fired between
postbacks, so would there be any arguments against using OnInit to
initialize the page and load data from a data store? Would it be
preferred to use Page_Load and then check if Page.IsPostBack?

Regards,
Patrick


All times are GMT. The time now is 08:39 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.