Tag Archives: Sitecore Foundry

Get the Sitecore Sublayout from your .aspx page (Usercontrol)

How do you get the Sitecore Sublayout from a Usercontrol? A Sitecore Sublayout (Sitecore.Web.UI.WebControls.Sublayout) is a container for your Usercontrol (.ascx) page. Therefore the Sublayout is retrieved by typecasting the parent to a Sublayout: Having the Sublayout in hand enables … Continue reading

Posted in c#, General .NET, Sitecore 5, Sitecore 6 | Tagged , , , , | 5 Comments