-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathASPNETInfo.html
More file actions
70 lines (61 loc) · 3.2 KB
/
Copy pathASPNETInfo.html
File metadata and controls
70 lines (61 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>Whoseas</title>
</head>
<body>
<header>
<div class="inner">
<h1>Whoseas</h1>
<h2>hello world !</h2>
<!--<a href="https://github.com/whoseas" class="button"><small>Follow me on</small> GitHub</a>-->
</div>
</header>
<div id="content-wrapper">
<div class="inner clearfix">
<section id="main-content">
<div>
<h2>ASP.net MasterPage</h2>
<p>
Both master pages and content pages can contain event handlers for controls. For controls, events are handled locally—a control in a content page raises an event in the content page, and a control in the master page raises an event in the master page. Controls events are not sent from the content page to the master page. Similarly, you cannot handle an event from a master page control in a content page.
In some cases, the same event is raised in both the content and the master page. For example, both pages raise Init and Load events. The general rule for how events are raised is that the initialization events are raised from the innermost control to the outermost one, and all other events are raised from the outermost control to the innermost one. It is helpful to remember that the master page is merged into the content page and treated as a control in the content page.
The following is the sequence in which events occur when a master page is merged with a content page:<br />
1. Content page PreInit event.<br />
2. Master page controls Init event.<br />
3. Content controls Init event.<br />
4. Master page Init event.<br />
5. Content page Init event.<br />
6. Content page Load event.<br />
7. Master page Load event.<br />
8. Master page controls Load event.<br />
9. Content page controls Load event.<br />
10. Content page PreRender event.<br />
11. Master page PreRender event.<br />
12. Master page controls PreRender event.<br />
13. Content page controls PreRender event.<br />
14. Master page controls Unload event.<br />
15. Content page controls Unload event.<br />
16. Master page Unload event.<br />
17. Content page Unload event.<br />
</p>
</div>
</section>
<aside id="sidebar">
<p>This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the Architect theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.</p>
</aside>
</div>
</div>
</body>
</html>
Status API Training Shop Blog About
© 2016 GitHub, Inc. Terms Privacy Security Contact Help