aspx file moved to the new folder to set the path of the problem

Source: Internet
Author: User

Just moving aspx to the desired folder in the project is an error, not to mention a path problem. Here I will say how this path should be modified.

Two places to modify: 1, Master Path modification method:

<href= "Styles/site1.css"  rel= "stylesheet"  type  = "Text/css"  />

In the master to find the link above, the contents of the HREF will be modified as follows:

<href= "<%=this." Resolveclienturl ("~/")%>styles/site1.css "  rel=" stylesheet "  type=" text /css "  />

2. Style path Modification method: Remove the link code from the original ASPX code, and then drag and drop the path of the style file back. This everyone will, in the project to find the corresponding style file, the left mouse button click on the drag to just delete the link code location.

  

aspx file moved to the new folder to set the path of the problem

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.