I know the name of the layout page. Do I still have to go through this process to get the layout page?
foreach (PageLayout pl in pageLayouts)
{
if (pl.Name.Equals("MyLayout.aspx", StringComparison.InvariantCultureIgnoreCase))
{
currPageLayout = pl;
}
}
pageLayouts? – Abe Miessler May 12 '11 at 15:22