AwnikRaihan
Sunday, February 11, 2007
Saturday, February 10, 2007
Saturday, January 06, 2007
Saturday, August 12, 2006
Using Master Page element from content page
To call a method of master page
<%@ MasterType virtualpath="~/ContractMasterPage.master" %>
Master.PopulateContractStatusBar()
I needed to call a method of master page from the content page. To do that just added the directive in the content page
<%@ MasterType virtualpath="~/ContractMasterPage.master" %>
It will make the Master property of the content page strongly typed . And through that property we can access any public member of master page.
Master.PopulateContractStatusBar()
<%@ MasterType virtualpath="~/ContractMasterPage.master" %>
Master.PopulateContractStatusBar()
I needed to call a method of master page from the content page. To do that just added the directive in the content page
<%@ MasterType virtualpath="~/ContractMasterPage.master" %>
It will make the Master property of the content page strongly typed . And through that property we can access any public member of master page.
Master.PopulateContractStatusBar()