Masterpagefile出错 [英] Error in Masterpagefile
本文介绍了Masterpagefile出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我运行我的项目显示此错误1或3个aspx表单...
请帮帮我。
错误29解析属性'masterpagefile'时出错:输入'System.Web.UI.Page'没有名为'masterpagefile'的公共属性。 D:\Mis_Reports \Website \New_Mis \Forms \Reports.aspx 1
Hi,
I have run my project showing this error 1 or 3 aspx forms...
Please help me.
Error 29 Error parsing attribute 'masterpagefile': Type 'System.Web.UI.Page' does not have a public property named 'masterpagefile'. D:\Mis_Reports\Website\New_Mis\Forms\Reports.aspx 1
推荐答案
我认为您的Reports.aspx不是从母版页继承的。
意味着,当您创建reports.aspx时,您还没有选择母版页。你可以改变repots.aspx并包含主页来解决这个问题。
如果你需要更多帮助,请告诉我。
I think your Reports.aspx is not inheriting from the masterpage.
Means, When you create the reports.aspx, you have not selected a master page. you can change repots.aspx and include the master page to solve this.
Let me know if you need more help.
没有masterpagefile属性意味着您可能使用了masterpagefile而不是MasterPageFile。我不确定你用过什么。如果不是,请告诉我..
Does not have a masterpagefile attribute means you might have used masterpagefile instead "MasterPageFile". I am not sure enough what you have used. If not so let me know..
这篇关于Masterpagefile出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文