<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 14">
<meta name=Originator content="Microsoft Word 14">
<link rel=File-List
href="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/filelist.xml">
<link rel=Edit-Time-Data
href="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Donald Ashworth</o:Author>
<o:LastAuthor>Donald Ashworth</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>2</o:TotalTime>
<o:Created>2012-12-27T19:38:00Z</o:Created>
<o:LastSaved>2012-12-27T19:38:00Z</o:LastSaved>
<o:Pages>3</o:Pages>
<o:Words>1003</o:Words>
<o:Characters>5718</o:Characters>
<o:Company>simplify</o:Company>
<o:Lines>47</o:Lines>
<o:Paragraphs>13</o:Paragraphs>
<o:CharactersWithSpaces>6708</o:CharactersWithSpaces>
<o:Version>14.00</o:Version>
</o:DocumentProperties>
<o:OfficeDocumentSettings>
<o:TargetScreenSize>800x600</o:TargetScreenSize>
</o:OfficeDocumentSettings>
</xml><![endif]-->
<link rel=themeData
href="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/themedata.thmx">
<link rel=colorSchemeMapping
href="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/colorschememapping.xml">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:TrackMoves>false</w:TrackMoves>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:DontUseIndentAsNumberingTabStop/>
<w:FELineBreak11/>
<w:WW11IndentRules/>
<w:DontAutofitConstrainedTables/>
<w:AutofitLikeWW11/>
<w:HangulWidthLikeWW11/>
<w:UseNormalStyleForList/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-536870145 1073786111 1 0 415 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520081665 -1073717157 41 0 66047 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1593833729 1073750107 16 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";
color:windowtext;}
h2
{mso-style-priority:9;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-link:"Heading 2 Char";
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:2;
font-size:13.0pt;
font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";
color:#FF9900;
font-weight:bold;}
h3
{mso-style-priority:9;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-link:"Heading 3 Char";
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
mso-outline-level:3;
font-size:11.0pt;
font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";
color:#FF9900;
font-weight:bold;}
a:link, span.MsoHyperlink
{mso-style-noshow:yes;
mso-style-priority:99;
color:blue;
mso-text-animation:none;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-noshow:yes;
mso-style-priority:99;
color:purple;
mso-themecolor:followedhyperlink;
text-decoration:underline;
text-underline:single;}
p
{mso-style-noshow:yes;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";
color:black;}
code
{mso-style-noshow:yes;
mso-style-priority:99;
mso-ansi-font-size:11.0pt;
mso-bidi-font-size:11.0pt;
font-family:"Courier New";
mso-ascii-font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";
color:#990000;}
pre
{mso-style-noshow:yes;
mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB;
font-size:9.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";
color:windowtext;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-noshow:yes;
mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-font-family:Calibri;
color:windowtext;}
span.Heading2Char
{mso-style-name:"Heading 2 Char";
mso-style-priority:9;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Heading 2";
mso-ansi-font-size:13.0pt;
mso-bidi-font-size:13.0pt;
font-family:"Verdana","sans-serif";
mso-ascii-font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-hansi-font-family:Verdana;
mso-bidi-font-family:"Times New Roman";
color:#FF9900;
font-weight:bold;}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-priority:9;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Heading 3";
font-family:"Verdana","sans-serif";
mso-ascii-font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-hansi-font-family:Verdana;
mso-bidi-font-family:"Times New Roman";
color:#FF9900;
font-weight:bold;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"HTML Preformatted";
mso-ansi-font-size:9.0pt;
mso-bidi-font-size:9.0pt;
font-family:"Courier New";
mso-ascii-font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";
mso-hansi-font-family:"Courier New";
mso-bidi-font-family:"Courier New";
background:#FBEDBB;}
span.code-pagedirective1
{mso-style-name:code-pagedirective1;
mso-style-unhide:no;
background:yellow;}
span.code-keyword1
{mso-style-name:code-keyword1;
mso-style-unhide:no;
color:blue;}
span.code-leadattribute1
{mso-style-name:code-leadattribute1;
mso-style-unhide:no;
color:maroon;}
span.code-attribute1
{mso-style-name:code-attribute1;
mso-style-unhide:no;
color:red;}
span.code-string1
{mso-style-name:code-string1;
mso-style-unhide:no;
color:purple;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Balloon Text";
mso-ansi-font-size:8.0pt;
mso-bidi-font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-ascii-font-family:Tahoma;
mso-hansi-font-family:Tahoma;
mso-bidi-font-family:Tahoma;}
span.articletoptitle
{mso-style-name:articletoptitle;
mso-style-unhide:no;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-fareast-font-family:Calibri;
mso-hansi-font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:669217320;
mso-list-template-ids:1426088154;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:1037000022;
mso-list-template-ids:127066444;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2
{mso-list-id:1405378194;
mso-list-template-ids:-2111650926;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l2:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l2:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3
{mso-list-id:1470243304;
mso-list-template-ids:265590832;}
@list l3:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l3:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l4
{mso-list-id:1731921568;
mso-list-template-ids:-1965016012;}
@list l4:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l4:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l4:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Calibri","sans-serif";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=WordSection1>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal;mso-outline-level:2'><span class=articletoptitle><b
style='mso-bidi-font-weight:normal'><span style='font-size:18.0pt'>AutoEventWireup
attribute in Microsoft ASP.NET Web Forms</span></b></span><b><span
style='font-size:18.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:#FF9900'> <o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>ASP.NET supports two
methods to author pages:<o:p></o:p></span></p>
<ol start=1 type=1>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l3 level1 lfo1;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>In-line code <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l3 level1 lfo1;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>Code-behind <o:p></o:p></span></li>
</ol>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>In-line code</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> is code that is embedded directly within the
ASP.NET page. <b>Code-behind</b> refers to code for your ASP.NET page that is
contained within a separate class file. This allows a clean separation of your
HTML from your presentation logic.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>When we use Microsoft
Visual Studio .NET to create ASP.NET Web Forms, code-behind pages are the
default method. In addition, Visual Studio .NET automatically performs <b>precompilation</b>
for us when we build our solution.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal;mso-outline-level:2'><b><span style='font-size:13.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:#FF9900'>A little bit of background<o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>Directives in ASP.NET</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> control the settings and properties of page and
user control compilers. They can be included anywhere on a page, although it is
standard to place them at the beginning. Directives are used in both <i>.aspx</i>
files (ASP.NET pages) and <i>.ascx</i> files (user control pages). ASP.NET
pages actually support eight different directives.<o:p></o:p></span></p>
<ul type=disc>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Page</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'> <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Control</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'> <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Import</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'> <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Implements</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
<o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Register</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'> <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Assembly</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'> <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ OutputCache</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
<o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l4 level1 lfo2;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>@ Reference</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'> <o:p></o:p></span></li>
</ul>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>Page directives</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> are the most commonly used directives, and are
used to edit a wide variety of settings that control how the page parser and
page compiler work. The following is a list of some of the more commonly used
page directive attributes in ASP.NET.<o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black;mso-no-proof:yes'><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="preimg0" o:spid="_x0000_i1025" type="#_x0000_t75"
alt="http://www.codeproject.com/images/minus.gif" style='width:6.75pt;
height:6.75pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
o:title="minus"/>
</v:shape><![endif]--><![if !vml]><img width=9 height=9
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
alt="http://www.codeproject.com/images/minus.gif" v:shapes="preimg0"><![endif]></span><span
style='font-size:8.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>Collapse<span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="Picture_x0020_2" o:spid="_x0000_i1026" type="#_x0000_t75" alt="http://www.codeproject.com/images/copy_16.png"
style='width:12pt;height:12pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image002.png"
o:title="copy_16"/>
</v:shape><![endif]--><![if !vml]><img width=16 height=16
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image003.gif"
alt="http://www.codeproject.com/images/copy_16.png" v:shapes="Picture_x0020_2"><![endif]></span><a
href="http://www.codeproject.com/KB/aspnet/AutoEventWireup.aspx?fid=147613&df=90&mpp=25&noise=3&sort=Position&view=Quick"><span
style='mso-bidi-font-size:11.0pt;font-family:"Times New Roman","serif"'> Copy
Code</span></a><o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'>@ Page
language="c#" Codebehind="WebForm1.aspx.cs" <o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'><span
style='mso-spacerun:yes'>�������� </span>AutoEventWireup="false"
Inherits="TestWebApp.WebForm1"<o:p></o:p></span></p>
<ul type=disc>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l1 level1 lfo3;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>Language</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
indicates the language in which the inline script code within the ASP.NET
page is written (the code between </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'><% %></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'> tags). The value of this attribute can be </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>C#</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman"'>, </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>VB</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman"'>, or </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>JS</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman"'>. <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l1 level1 lfo3;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>Codebehind</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
indicates the name of the file being used as the code supporting this
ASP.NET page. This file should reflect the </span><span style='font-family:
"Courier New";mso-fareast-font-family:"Times New Roman";color:#990000'>Language</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'> setting; that is, if the language being used is C#,
the CodeBehind file should have a <i>.cs</i> extension and be written in
C#. <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l1 level1 lfo3;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>Inherits</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
indicates a qualified class from which this ASP.NET page should inherit.
Generally, this will be the name of the class described in the code-behind
file. <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l1 level1 lfo3;tab-stops:list .5in'><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
is a Boolean attribute that indicates whether the ASP.NET pages events are
auto-wired. <o:p></o:p></span></li>
</ul>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>Note: In the above case,
ASP.NET compiles the code-behind page on the fly. We have to note that this
compilation step only occurs when the code-behind file is updated. Whether the
file has been updated or not, well this is detected through a timestamp change.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal;mso-outline-level:2'><b><span style='font-size:13.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:#FF9900'>To get to the Real Thing<o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>The </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute may have a value of </span><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>true</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> or </span><span lang=CS style='font-family:
"Courier New";mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:
CS'>false</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>. When an ASP.NET Web
Application is created by using Microsoft Visual Studio .NET, the value of the </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute is set as </span><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>false</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>We can specify the
default value of the </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>AutoEventWireup</span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> attribute in the following locations:<o:p></o:p></span></p>
<ul type=disc>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l2 level1 lfo4;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>The <i>Machine.config</i> file. <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l2 level1 lfo4;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>The <i>Web.config</i> file. <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l2 level1 lfo4;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>Individual Web Forms (<i>.aspx</i> files). <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l2 level1 lfo4;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>Web User Controls (<i>.ascx</i> files) <o:p></o:p></span></li>
</ul>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>The value of the </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute can be declared in the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'><</span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>pages</span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:blue'>></span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> section in the <i>Machine.config</i> file or the <i>Web.config</i>
file, as follows:<o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black;mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="preimg1" o:spid="_x0000_i1027" type="#_x0000_t75" alt="http://www.codeproject.com/images/minus.gif"
style='width:6.75pt;height:6.75pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
o:title="minus"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=9 height=9
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
alt="http://www.codeproject.com/images/minus.gif" v:shapes="preimg1"><![endif]></span><span
style='font-size:8.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>Collapse<span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="Picture_x0020_4" o:spid="_x0000_i1028" type="#_x0000_t75" alt="http://www.codeproject.com/images/copy_16.png"
style='width:12pt;height:12pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image002.png"
o:title="copy_16"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=16 height=16
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image003.gif"
alt="http://www.codeproject.com/images/copy_16.png" v:shapes="Picture_x0020_4"><![endif]></span><a
href="http://www.codeproject.com/KB/aspnet/AutoEventWireup.aspx?fid=147613&df=90&mpp=25&noise=3&sort=Position&view=Quick"><span
style='mso-bidi-font-size:11.0pt;font-family:"Times New Roman","serif"'> Copy
Code</span></a><o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'><</span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:maroon'>configuration</span><span style='font-size:9.0pt;font-family:
"Courier New";mso-fareast-font-family:"Times New Roman";color:blue'>></span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:black'> </span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'><</span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:maroon'>system.web</span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'>></span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:black'> </span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'><</span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:maroon'>pages</span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'> </span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:red'>autoEventWireup</span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'>="true|false"</span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:black'> <o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'><span
style='mso-spacerun:yes'>�������������� </span></span><span style='font-size:
9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue'>/></span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'> </span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue'></</span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:maroon'>system.web</span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue'>></span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'> </span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue'></</span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:maroon'>configuration</span><span
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue'>></span><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'><o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>If you make these
changes in the <i>Machine.config</i> file, the changes affect <u>all ASP.NET
Web Forms on the computer</u>. If you make these changes in the <i>Web.config</i>
file, the changes affect <u>only the application that the file belongs to</u>.
However, <u>to make changes in the individual Web Form Only</u>, we have to add
the </span><span style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute to the </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>@ Page</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> directive, as shown above.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal;mso-outline-level:3'><b><span style='font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:#FF9900'>Check out the Code<o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>When we create a new
ASP.NET Web Application in Visual Studio .NET, as mentioned earlier, by
default, the value of the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>AutoEventWireup</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> attribute is set to </span><span lang=CS
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue;mso-ansi-language:CS'>false</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> in the <i>.aspx</i> page and event handlers are automatically
created. We can find this in the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>InitializeComponent</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> method:<o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black;mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="preimg2" o:spid="_x0000_i1029" type="#_x0000_t75" alt="http://www.codeproject.com/images/minus.gif"
style='width:6.75pt;height:6.75pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
o:title="minus"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=9 height=9
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
alt="http://www.codeproject.com/images/minus.gif" v:shapes="preimg2"><![endif]></span><span
style='font-size:8.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>Collapse<span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="Picture_x0020_6" o:spid="_x0000_i1030" type="#_x0000_t75" alt="http://www.codeproject.com/images/copy_16.png"
style='width:12pt;height:12pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image002.png"
o:title="copy_16"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=16 height=16
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image003.gif"
alt="http://www.codeproject.com/images/copy_16.png" v:shapes="Picture_x0020_6"><![endif]></span><a
href="http://www.codeproject.com/KB/aspnet/AutoEventWireup.aspx?fid=147613&df=90&mpp=25&noise=3&sort=Position&view=Quick"><span
style='mso-bidi-font-size:11.0pt;font-family:"Times New Roman","serif"'> Copy
Code</span></a><o:p></o:p></span></p>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span lang=CS style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>this</span><span
lang=CS style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:black;mso-ansi-language:CS'>.Load += </span><span
lang=CS style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:blue;mso-ansi-language:CS'>new</span><span lang=CS
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:black;mso-ansi-language:CS'> System.EventHandler(</span><span lang=CS
style='font-size:9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue;mso-ansi-language:CS'>this</span><span lang=CS style='font-size:
9.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:black;mso-ansi-language:CS'>.Page_Load);<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>The best way to see the
working of this attribute would be:<o:p></o:p></span></p>
<ul type=disc>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l0 level1 lfo5;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>Declare a </span><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:
CS'>string</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman"'> variable </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>msg</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman"'> as </span><span lang=CS
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue;mso-ansi-language:CS'>public</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman"'>
in <i>WebForm1.aspx.cs</i>. <o:p></o:p></span></li>
<li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;line-height:normal;mso-list:l0 level1 lfo5;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'>In the HTML section of <i>WebForm1.aspx</i>, enter the
following code in the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'><</span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>Head</span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman"'> section: <o:p></o:p></span></li>
</ul>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:.5in;line-height:normal'><span style='font-size:8.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black;
mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="preimg3" o:spid="_x0000_i1031"
type="#_x0000_t75" alt="http://www.codeproject.com/images/minus.gif" style='width:6.75pt;
height:6.75pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
o:title="minus"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=9 height=9
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
alt="http://www.codeproject.com/images/minus.gif" v:shapes="preimg3"><![endif]></span><span
style='font-size:8.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>Collapse<span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="Picture_x0020_8" o:spid="_x0000_i1032" type="#_x0000_t75" alt="http://www.codeproject.com/images/copy_16.png"
style='width:12pt;height:12pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image002.png"
o:title="copy_16"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=16 height=16
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image003.gif"
alt="http://www.codeproject.com/images/copy_16.png" v:shapes="Picture_x0020_8"><![endif]></span><a
href="http://www.codeproject.com/KB/aspnet/AutoEventWireup.aspx?fid=147613&df=90&mpp=25&noise=3&sort=Position&view=Quick"><span
style='mso-bidi-font-size:11.0pt;font-family:"Times New Roman","serif"'> Copy
Code</span></a><o:p></o:p></span></p>
<p class=MsoNormal style='margin-top:0in;margin-right:0in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt;line-height:normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black'><%
Response.Write(msg); %><o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:.5in;line-height:normal'><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>In
the </span><span style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>Page_Load</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>, you could enter a
value for the variable </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>msg</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> declared.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:.5in;line-height:normal'><span style='font-size:8.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black;
mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="preimg4" o:spid="_x0000_i1033"
type="#_x0000_t75" alt="http://www.codeproject.com/images/minus.gif" style='width:6.75pt;
height:6.75pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
o:title="minus"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=9 height=9
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image001.gif"
alt="http://www.codeproject.com/images/minus.gif" v:shapes="preimg4"><![endif]></span><span
style='font-size:8.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>Collapse<span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
id="Picture_x0020_10" o:spid="_x0000_i1034" type="#_x0000_t75" alt="http://www.codeproject.com/images/copy_16.png"
style='width:12pt;height:12pt;visibility:visible'>
<v:imagedata src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image002.png"
o:title="copy_16"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=16 height=16
src="AutoEventWireup%20attribute%20in%20Microsoft%20ASP.NET%20Web%20Forms.doc_files/image003.gif"
alt="http://www.codeproject.com/images/copy_16.png" v:shapes="Picture_x0020_10"><![endif]></span><a
href="http://www.codeproject.com/KB/aspnet/AutoEventWireup.aspx?fid=147613&df=90&mpp=25&noise=3&sort=Position&view=Quick"><span
style='mso-bidi-font-size:11.0pt;font-family:"Times New Roman","serif"'> Copy
Code</span></a><o:p></o:p></span></p>
<p class=MsoNormal style='margin-top:0in;margin-right:0in;margin-bottom:0in;
margin-left:.5in;margin-bottom:.0001pt;line-height:normal;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
background:#FBEDBB'><span lang=CS style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:black;mso-ansi-language:CS'>msg=
</span><span lang=CS style='font-size:9.0pt;font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:purple;mso-ansi-language:CS'>"We
are in Page_Load()"</span><span lang=CS style='font-size:9.0pt;font-family:
"Courier New";mso-fareast-font-family:"Times New Roman";color:black;mso-ansi-language:
CS'>;<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>On running the
application, you will get the message <b>We are in Page_Load()</b> [hereafter
referred to as message]. Note: this is in the default case where the attribute
is set to </span><span lang=CS style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:blue;mso-ansi-language:CS'>false</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>Now try commenting the
event handler code for the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>Page_Load</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> in the <i>aspx.cs</i> file; and set the </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute to </span><span lang=CS style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:blue;mso-ansi-language:CS'>false</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> in the <i>.aspx</i> page. On running the
application this time, <b>you will not get the message</b>.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>Now with the event
handler code for the </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>Page_Load</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> in the <i>aspx.cs</i> file still commented; set the </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute to </span><span lang=CS style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:blue;mso-ansi-language:CS'>true</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> in the .aspx page. On running the application
this time, <b>you will get the message</b>.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>Reason</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>: In the case where </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute is set to </span><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>false</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> (by default), event handlers are automatically
required for </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>Page_Load</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> or </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>Page_Init</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'>. However, when we set the value of the </span><span
style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>AutoEventWireup</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
attribute to </span><span lang=CS style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:blue;mso-ansi-language:CS'>true</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>, the ASP.NET runtime does not require events to
specify event handlers like </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>Page_Load</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> or </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>Page_Init</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>A thing to be kept in
mind is that the </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>AutoEventWireup</span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> attribute of the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>Page</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> directive is <u>set to </u></span><u><span
lang=CS style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue;mso-ansi-language:CS'>true</span></u><u><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> by default for the machine</span></u><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> (check out the value of this attribute in the <i>machine.config</i>)
but <u>set to </u></span><u><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>false</span></u><u><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> by default for a <i>.aspx</i> page</span></u><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>). So if it is missing, since by default it is </span><span
lang=CS style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:blue;mso-ansi-language:CS'>true</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> (i.e., at the machine level), the page framework calls page
events automatically, specifically the </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>Page_Init</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> and </span><span style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:#990000'>Page_Load</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> methods. In that case, no explicit </span><span
lang=CS style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000;mso-ansi-language:CS'>Handles</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> clause or delegate is needed.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal;mso-outline-level:2'><b><span style='font-size:13.0pt;
font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:#FF9900'>Performance Issues<o:p></o:p></span></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:normal'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
mso-fareast-font-family:"Times New Roman";color:black'>We must not set the
value of the </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>AutoEventWireup</span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> attribute to </span><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>true</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'> if performance is a key consideration. If we
set the value of the </span><span style='font-family:"Courier New";mso-fareast-font-family:
"Times New Roman";color:#990000'>AutoEventWireup</span><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";
color:black'> attribute to </span><span lang=CS style='font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";color:blue;mso-ansi-language:CS'>true</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family:
"Times New Roman";color:black'>, the ASP.NET page framework must make a call to
the </span><span style='font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
color:#990000'>CreateDelegate</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";mso-fareast-font-family:"Times New Roman";color:black'>
method for every Web Form (<i>.aspx</i> page), and instead of relying on the
automatic hookup, manually override the events from the page.<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>