日期:2014-05-19  浏览次数:20336 次

请教各位XDJM:怎么在子页中调用MasterPage页面中的功能函数
如题

------解决方案--------------------
你说的问题可能有点笼统吧,帮你顶一下。要是具体一些,可能解决起来会更容易一些。
------解决方案--------------------
Master.方法
------解决方案--------------------
1.在html页面上加上 <%@ MasterType VirtualPath= "~/MasterPage.master " %>

2.MasterPage里的方法要public的

3.调用方法为:this.Master.方法()