Example #1
0
        public static BinaryData GetPageBinaryData(Page page, PageTemplate pageTemplate)
        {
            PageTemplateManager pageTemplateManager = new PageTemplateManager();

            return(pageTemplateManager.GetASPXBinaryByPageTemplate(page, pageTemplate));
        }
Example #2
0
 private static bool CheckPageTemplateBinaryStream(PageTemplate pageTemplate)
 {
     return(pageTemplate != null && pageTemplate.Binary != null && pageTemplate.Binary.GetStream() != null);
 }