文件夹中的aspx的母版页问题 [英] master page issue for an aspx in a folder

查看:134
本文介绍了文件夹中的aspx的母版页问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个位于项目顶层的.aspx页面。我创建了一个文件夹并将其移入其中。与之相关的问题是主页中定义的某些内容(例如,yop面板中的控件)不会显示。怎么解决这个问题?谢谢。

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.

推荐答案

您是否检查了图像的文件路径等?

如果将aspx移动到子文件夹,所有图像路径都会改变,如果你不是以〜/开头的app-absolute路径。

你还应该检查主页文件中控件的路径。检查它们是否也以〜/\".
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 "~/".


Prob开头。通过修复母版页解决,其中应修改css文件路径。感谢所有回复。
Prob. solved by fixing the master page, in which a css file path should be modified. Thanks to all of the response.


这篇关于文件夹中的aspx的母版页问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆