Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
This applies to EPiServer 4.62, haven’t checked CMS 5 yet… To add translations in EPi, create a new translation file (or use an existings one) in the lang directory of the web root. Give it a name ending with the language code, e.g. “textsSV.xml”:...
Background Consider the following simple method that returns the names of the items of a content area: The method is made up to be as simple as possible to illustrate the how unit testing against a ContentArea can be done, which turns out to be...
This is how to retrieve the address to the startpage including the currently active language branch (e.g. “/sv/” or “/en/”): This code looks simple but it actually took me an hour or so to get it right (I haven’t worked with globalization before) ...
This is simple stuff, but I wanted to store these code snippets somewhere for easy re-use… This is how to do databinding with a Repeater control in ASP.NET. In the ASPX file: In the code-behind file: In Page_Load(), we connect the repeater to a...
In some cases it may be useful to detect when an EPiServer page is displayed in DOPE (Direct On-Page Editing) mode rather than the “normal” View mode. This is how to do it: This is the only way I have found to do this, but it feels like there shou...