Use of the loading sequence of ASP. NET master pages and content pages

Source: Internet
Author: User

Master template page
Content Page
If you want to transmit data from the master page to the content page, oninit
If you want data on the content page to be transmitted to the master page, reload onload
The specific details are not mentioned much. You can see the Loading Order of the following pages to understand the reason (it is useful for using masterpage for website creation)

  1. Master page control init event
  2. Content Control init event
  3. Master page init event
  4. Content Page init event
  5. Content Page load event
  6. Master page load event
  7. Content Control load event
  8. Content Page prerender event
  9. Master page prerender event
  10. Master page control prerender event
  11. Content Control prerender event
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.