Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/12

Click to flip

12 Cards in this Set

  • Front
  • Back
OnInit (Init)

What event comes before and after?
Initializes each child control of the current
control.

This is the first event and LoadControlState comes after it.
LoadControlState


What event comes before and after?
Loads the ControlState of the control. To use this method, the control must call the Page.RegisterRequiresControlState method in the OnInit method of the control.

OnInit before and LoadViewState after
LoadPostData


What event comes before and after?
Is defined on interface IPostBackDataHandler. Controls that implement this interface use this method to retrieve the incoming form data and update the control’s properties accordingly.

LoadControlState before and Load (OnLoad) after
Load(OnLoad)


What event comes before and after?
control is stable at this time; it has been initialized and its state has been reconstructed.
Common place to place code here

LoadPostData before and RaisePostDataChangedEvent after
RaisePostDataChangedEvent


What event comes before and after?
Is defined on the interface IPostBackData-Handler. Controls that implement this interface
use this event to raise change events in response to the Postback data changing between the current Postback and the previous Postback (e.G list of events which is fired in order on the server side)

Load(OnLoad) before and RaisePostbackEvent after
RaisePostBackEvent
Handles the client-side event that caused the Postback to occur.

RaisePostDataEvent before and PreRender(OnPreRender) after
PreRender (OnPreRender)
Allows last-minute changes to the control. This event takes place after all regular Post-back events have taken place. This event takes place before saving ViewState, so any changes made here are saved.

RaisPostBackEvent before and SaveControlState after
SaveControlState
Saves the current control state to ViewState. After this stage, any changes to the control state are lost. To use this method, the control must call the Page.RegisterRequiresControlState method in the OnInit method of the control.

PreRender(OnPrerender) before and SaveViewState after
SaveViewState
Saves the current data state of the control to ViewState. After this stage, any changes to the control data are lost.

SaveControlState before and Render after
Render
Generates the client-side HTML, Dynamic Hypertext Markup Language (DHTML), and script that are necessary to properly display this control at the browser. In this stage, any changes to the control are not persisted into ViewState.

SaveViewState before and Dispose after
Dispose
Accepts cleanup code. Releases any unman-aged resources in this stage. Unmanaged resources are resources that are not handled by the .NET common language runtime, such as file handles and database connections.

Render before and Unload after
UnLoad
Accepts cleanup code. Releases any managed resources in this stage. Managed resources are resources that are handled by the runtime, such as instances of classes created by the .NET common language runtime.

Dispose before and it is the last event