Tech Trinkets
Wednesday, April 20, 2011
Referencing Custom Master Page Properties From Content Pages
To reference master page properties from content pages
Create a public property in the master page code-behind file
Add the @ MasterType declaration to the ASPX content page
<%@ MasterType VirtualPath="~/Site.master" %>
Reference the master page property from content page as
Master.[property_name]
Newer Post
Older Post
Home
Blog Archive
►
2014
(1)
►
October
(1)
►
2013
(2)
►
October
(1)
►
March
(1)
►
2012
(2)
►
March
(1)
►
February
(1)
▼
2011
(6)
►
June
(1)
►
May
(1)
▼
April
(1)
Referencing Custom Master Page Properties From Con...
►
March
(1)
►
February
(1)
►
January
(1)
►
2010
(12)
►
December
(1)
►
November
(1)
►
October
(1)
►
September
(1)
►
August
(1)
►
July
(1)
►
June
(1)
►
May
(1)
►
April
(1)
►
March
(1)
►
February
(1)
►
January
(1)
►
2009
(13)
►
December
(1)
►
November
(1)
►
September
(1)
►
August
(1)
►
July
(2)
►
May
(2)
►
April
(4)
►
February
(1)
►
2008
(6)
►
November
(1)
►
August
(1)
►
July
(1)
►
June
(1)
►
April
(1)
►
March
(1)
►
2007
(10)
►
October
(1)
►
September
(1)
►
August
(1)
►
July
(4)
►
June
(3)
About Me
Gopika
View my complete profile
Websites
Rajesh Sharma
Old Renwick Trail
AllStyleTees.com
Shree Sadgurukrupa
Resonate Now
Goldivas.com
Indulgence, Inc