Answer the question
In order to leave comments, you need to log in
How to get access to methods\controls in master page?
Hey!
A website consists of a master page and content pages.
The masterpage code file is as follows:
public partial class MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
//PopupAdd();
}
public void PopupAdd()
{
popupOverlay.Attributes.CssStyle.Add(HtmlTextWriterStyle.Display, "inline-block");
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question