Questions about the path of the ASPX template page element, and understanding of the template page

Source: Internet
Author: User
The template page is just a template, it is not a separate page, and its path is the path to the content page that references it.  In other words, the template page is just a fixed part of the content page. The template page refers to the JS and CSS, the content page does not have to re-reference the CSS even if the content page is not in a sibling directory, and does not have to re-reference, because the link tag is supported by the ~ path.  In the template page refers to the JS, the most like the bottom of this write, because the <script> tag is not supported ~ path. <script type= "Text/javascript" src= "<%=page.resolveurl (" ~/scripts/jquery-1.4.1.js ")%>" ></script > for images used in template pages, the path is best written page.resolveurl (XXX)

Questions about the path of the ASPX template page element, and understanding of the template page

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.