Click here to Skip to main content
15,909,030 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I have an .aspx page that is at the top level of the project. I created a folder and moved it into it. The problem associated is that some contents defined in the masterpage (e.g. the controls in the yop panel) do not display. How can this be fixed? Thanks.
Posted
Comments
Kornfeld Eliyahu Peter 3-Feb-14 15:19pm    
Can you show the markup of your page - specially the line (first) where the master linked to it?
[no name] 3-Feb-14 15:22pm    
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RequestStart.aspx.cs" Inherits="RequestStart" %></pre> --------- In the Design view, I can see everything from masterpage. When I run debugging, can only view Left Pane. Thanks.

Did you check the file paths of images, etc?
If you move the aspx to a subfolder all imagepaths will change, if you do not app-absolute paths beginning with "~/".
You should also check the paths in master page file for the controls. Check if they also start with "~/".
 
Share this answer
 
Comments
[no name] 5-Feb-14 9:20am    
I made a correction for a related css file that is in a folder. Thanks.
Prob. solved by fixing the master page, in which a css file path should be modified. Thanks to all of the response.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900