解决主页面错误 [英] soln for master page error

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

问题描述

我刚刚在一个使用主页和内容页面概念的系统上创建了一个asp.net/vb网站...现在我试图在我的笔记本电脑上运行它...这个问题是它只显示了vb代码...不设计部分...并给出一些母版页错误...说无法加载母版页文件'~~ main_page.master'... ... plzz help

i just made a website in asp.net/vb on a system using master and content page concept... now i m trying to run it on my laptop.. the problem with this is it''s showing only vb code... not design part... and giving some master page error...saying "The Master Page file''~main_page.master'' cannot be loaded"... plzz help

推荐答案

主页面文件''~main_page.master''无法加载

基于整个问题和上述错误,它听起来你的实现不正确,页面无法在运行时找到母版页。



从这里下载样本并查看: ASP.NET 2.0母版页 [ ^ ]



如需更多信息,请点击此处:

MSDN:ASP.NET母版页 [ ^ ]

ASPNET:ASP.NET母版页教程 [ ^ ]

使用带有母版页的ASP.NET UpdatePanel控件 [ ^ ]
"The Master Page file''~main_page.master'' cannot be loaded"
Based on entire question and the above error, it sounds like your implementation is not correct and page is unable to find the master page at runtime.

Download the sample from here and have a look: ASP.NET 2.0 Master Pages[^]

For more, look here:
MSDN: ASP.NET Master Pages[^]
ASPNET: ASP.NET Master Pages Tutorials[^]
Using the ASP.NET UpdatePanel Control with Master Pages[^]


这篇关于解决主页面错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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