
Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
Archive
Meta
Tag Archives: Usercontrol
Sitecore Language selector – creating a country selector
This is a little nifty thing I developed recently. I developed a small UserControl that displays all the flags from the languages in Sitecore, enabling me to create a list of clickable flags that will make the website switch language. … Continue reading
Posted in c#, General .NET, Sitecore 6
Tagged language, Multisite, Sitecore, Usercontrol
Leave a comment
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 datasource, Sitecore, Sitecore Foundry, sublayout, Usercontrol
4 Comments