hi I recently started learning Asp.net Web forms
1) Calling OnInit() on a control starts initialization phase for that control. a) I assume OnInit phase of a child control must be completely finished before parent’s OnInit phase can begin? b) I also assume that all user-defined event handlers called by child’s Init event must also be finished before parent’s OnInit() is called? c) I also assume OnLoad() can’t be called on any control until OnInit () has been called on all controls on a page? 2) Say some property stores an instance C into a Viewstate. Now if we mark C as dirty, then I assume Viewstate will serialize ( and thus remember across postbacks ) all values that members of C hold? 3) OnLoad() fires Init event. Now why would you choose to do something directly in OnLoad() and not in one of event handlers subscribed to the OnInit event? Thank you
