If you want to use methods from your masterpage add the following code in the .aspx file (content page):
<%@ MasterType VirtualPath="pathToMasterPage" %>
If you want to use methods from your masterpage add the following code in the .aspx file (content page):
<%@ MasterType VirtualPath="pathToMasterPage" %>