Use below code in your page to get Master Page object which can be used to access master page property
Put this code on top of your page:
<%@ MasterType VirtualPath="//Master Page Path" %>
No you can use master page object as
Master.Username = "test"
//Here Username is property of Master Page. Similarly you can access methods also.
Put this code on top of your page:
<%@ MasterType VirtualPath="//Master Page Path" %>
No you can use master page object as
Master.Username = "test"
//Here Username is property of Master Page. Similarly you can access methods also.
No comments:
Post a Comment