[英]C# asp.net- How to access content page's method from master page?
Guys how to access content page's method from master page in ASP.NET C#? 伙计们如何从ASP.NET C#的母版页访问内容页的方法?
The code in content page ( usageDuration.aspx.cs
): 内容页面中的代码(
usageDuration.aspx.cs
):
public void renderChart()
{
// xxxxx
}
You can do this using delegates, for more information go through the below link 您可以使用委托进行此操作,有关更多信息,请访问以下链接
Calling Content Page Method from MasterPage Method 从MasterPage方法调用内容页面方法
your can find answer. 您可以找到答案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.