How to call content Page function from Master Page

后端 未结 3 1524
梦谈多话
梦谈多话 2020-12-11 06:39

It is necessary to call content Page function from Master Page. Please let me know if more data needed.

MasterPage.master.cs looks like

 protected vo         


        
3条回答
  •  春和景丽
    2020-12-11 07:15

    I usually find that when the MasterPage needs to call a function in a ContentPage you have a flaw in the design of your page. The MasterPage should not need to know anything about the ContentPages. But if you feel that this is the right way for you here is a guide from CodeProject

提交回复
热议问题