zoukankan      html  css  js  c++  java
  • Master & Content Page Relation(Event Ordering)

           When you work with master pages and content pages, both can use the same events (such as Page_Load).
    Be sure you know which events come before others. You are bringing two classes together to create a single
    page class, and a specific order is required. When an end user requests a content page in the browser,
    the event ordering is the following:
    ❑Master page child controls initialization: All server controls contained within the master page
    are first initialized.
    ❑ Content page child controls initialization: All server controls contained in the content page are
    initialized.
    ❑ Master page initialization: The master page itself is initialized.
    ❑ Content page initialization: The content page is initialized.
    ❑ Content page load: The content page is loaded (this is the Page_Load event followed by the
    Page_LoadComplete event).
    ❑ Master page load: The master page is loaded (this is also the Page_Load event followed by the
    Page_LoadComplete event).
    ❑ Master page child controls load: The server controls on the master page are loaded onto
    the page.
    ❑ Content page child controls load: The server controls on the content page are loaded onto
    the page.

  • 相关阅读:
    MOSS 2013研究系列动态修改WebConfig(上) 欧阳锋
    MOSS 2013研究系列MOSS 2013安装篇 欧阳锋
    GPIO
    [转]vi/vim使用进阶: 在VIM中使用GDB调试 – 使用pyclewn
    建立openwrt虚拟环境
    ebtables基本使用
    LFS小记
    Autoconf & Automake使用小记
    Packet Filter小记
    Web技术整理
  • 原文地址:https://www.cnblogs.com/xucanzhao/p/338197.html
Copyright © 2011-2022 走看看