Category Archives: ASP.Net

How to get URL to FuBuMVC input model endpoint in a view

I wrote a small extension method for retrieving the URL to an input model endpoint in FuBuMVC together with my collegue Christer Bermar today. What we wanted to achieve was to have the relative address without the leading slash added … Continue reading

Posted in FuBuMVC | Tagged C#, Extension methods, FuBuMVC | 3 Comments

How to use HtmlConventions to create a radio button list input for FuBuMVC

Ran into a little difficulty with a FuBuMVC website today while trying to have InputFor generate a radio button list. The problem was that we were using an enum (as the one below) to represent the values, which passed through … Continue reading

Posted in FuBuMVC | Tagged C#, FuBuMVC, HtmlConvention, RadioButtonList | 3 Comments

EPiServer CustomProperty: jQuery image slide show with HTML captions and smooth transitions using Dev7studios Nivo Slider

While searching for a pretty looking image slide show plugin that would not need me to have a Flash player installed on the client computer, or on the client iPad for that matter, I stumbled across an interesting piece of … Continue reading

Posted in ASP.Net, EPiServer | Tagged C#, Custom Property, EPiServer, Image Slide Show, jQuery | Leave a comment

How to make EPiServer surveil your config files notifying you on change

I have been a little bit dry on coding inspiration lately, until the other day when my collegue Karl Ahlin gave me an interesting idea concerning monitoring of configuration files. While I enjoyed coding it, I will leave it unsaid … Continue reading

Posted in ASP.Net, EPiServer | Tagged C#, configuration, EPiServer, surveillance | 3 Comments

Revisited and improved: PageType based filtering of EPiServer’s EditMode PageTree

Some time ago I developed a small plug-in to EPiServer‘s edit mode page tree, allowing web editors to filter its pages based on all available page types. I decided to spend this weekend in the sun on my balcony with … Continue reading

Posted in ASP.Net, EPiServer, EPiServer CMS 6 R2, Plugins | Tagged C#, Dynamic Data Store, EPiServer, EPiServer user profiles, PageTypeTreeFilter | Leave a comment

Being friends with the PropertyControlClassFactory, or: 101 ways to change EPiServer built-in property appearances

As I have been playing around with using ControlAdapters to change the rendering of built-in EPiServer properties lately, I got curious on what else I could possible do to modify them. As it turns out, the EPiServer PropertyControlClassFactory is a … Continue reading

Posted in Control adapters, EPiServer | Tagged C#, Control Adapter, Customized appearance, EPiServer, Initialization module, PlugInAttribute, PropertyControlClassFactory | Leave a comment

How to embed EPiServer resources such as GuiPlugIns and Pages together with Images, JavaScripts and Stylesheets in droppable assembly binaries

Recently I got slapped back into reality receiving a Twitter message from my collegue Patrik Akselsson in which he kindly asked me to hand him a GitHub link to the code from one of my blog posts. Being long overdue … Continue reading

Posted in ASP.Net, EPiServer, Plugins | Tagged C#, Embedded resources, EPiServer, VirtualPathProvider | Leave a comment

Complete and concrete example of what an ASP.NET WebForms Model-View-Presenter project may look like using StructureMap, NUnit and AutoMoq

For quite some time now I have been thinking of creating some sort of sample project to show how a Model-View-Presenter approach may be used in an ASP.NET WebForms project. Lots of what is out there on this subject seem … Continue reading

Posted in ASP.Net | Tagged AutoMoq, C#, Model-View-Presenter, Moq, MVP, NUnit, StructureMap | 1 Comment

Internet Explorer loses Referrer when redirecting or linking with JavaScript

I came across another Internet Explorer feature today as I was debugging a piece of code related to adding referrer URLs when submitting input forms. It worked perfectly on all versions that I tried of Firefox and Chrome, the referring … Continue reading

Posted in ASP.Net, Bugs | Tagged HTML, Internet Explorer, JavaScript | Leave a comment

Supplying EPiServer scheduled jobs with parameters through Admin Mode

I have always missed a way of supplying arbitrary input parameters to EPiServer scheduled jobs through the Admin Mode scheduled job interface. As Stefan Forsberg laughingly pointed out to me when I told him about my POC for this functionality … Continue reading

Posted in ASP.Net, EPiServer, EPiServer CMS 6 R2, Scheduled jobs | Tagged automation, C#, Control Adapter, EPiServer, Scheduled job | Leave a comment