Can't access master page properties from content pages

Posted by jineesh uvantavida on Tuesday, October 24, 2017
You can add the add this on your Content  page 

<%@ MasterType VirtualPath="~/Main.master"%>

and then simply use Master.YourPropertyName in code file or this.Master.YourPropertyName


Tags: asp.net 

Translate This Page

 


Make a free website with Yola