在服务器上未运行母版页 [英] On server not running master page

查看:99
本文介绍了在服务器上未运行母版页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

而不是调用母版页,而是显示XYZ.aspx页

Instead of calling master page, XYZ.aspx page is showing

<%@ Page Language="C#" MasterPageFile="~/Master1.master" Title="abc" %>



并且不显示母版页内容.此外,在运行localhost母版页和.aspx页时未显示任何问题,可以通过webform



and not showing master page contents. Moreover, on running localhost masterpages and .aspx pages are not showing any problem and easily master page contents are accessible by webform

推荐答案

在您的母版页和内容页上轻松访问母版页内容的代码? ContentPlaceHolder标记可能有问题.
Where''s your MasterPage and content page''s codes? May be something wrong with the ContentPlaceHolder tag.


这篇关于在服务器上未运行母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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