Home
Manage Your Code
Snippet: Call Master Page Public Property from aspx (C#)
Title: Call Master Page Public Property from aspx Language: C#
Description: To be used on an aspx page that needs to access Properties on a master page. Views: 153
Author: David Ashworth Date Added: 10/4/2007
Copy Code  
1            if ((Master as PublicWebSite.MasterPages.PublicWeb) != null)
2            { 
3                (Master as PublicWebSite.MasterPages.PublicWeb).ShowCardCallout = false;
4            }
Usage
To be used on an aspx page that needs to access Properties on a master page.