Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Page_Load or Page_Init

Thread Tools

Page_Load or Page_Init

Patrick Kristiansen
Posts: n/a
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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference between Page_init and Page_Load event? ad ASP .Net 6 11-16-2005 07:18 PM
What is the difference between Page_Init and Page_Load? Nathan Sokalski ASP .Net 12 09-26-2005 03:06 PM
Page_Load and Page_Init get called twice, sometimes! Dot net work ASP .Net 6 11-24-2004 08:04 PM
Page_INIT and Page_Load What are they the same? jack ASP .Net 4 08-01-2004 04:39 PM
Page_Init() and Page_Load() Christian ASP .Net 1 07-16-2003 07:28 PM