C#

Is page in Edit mode

Posted Monday, August 31, 2009 2:40 PM | Feedback (2), Filed Under .NET C# developement EPiServer

I’m writing an account registering control. This control needs to show the user how to register for a new account. But when modifying this control the pages editors must be able to see the hole flow. So I went looking for a smart way to display the control in two ways depending on the context it’s being viewed in. I found Jacob Khan’s blog post in EPiServer labs that seemed nice but I didn’t get it to work. The thing I ended doing was to get the id from the query string, and parsing it to a PageReference to...

Grouping with Linq Igrouping

Posted Friday, March 13, 2009 8:13 AM | Feedback (5), Filed Under .NET C# developement Linq

Now a days no one uses arrays any more, the reason why, because they are a pain to work with and seriously, why would you when we have the generic List<T> collection. If you are using object collections that implement IEnumerable like List<T>, List(Of T)  in VB, you are in a world of joy. And if you are using Linq then you are in a world of joy in Christmas!If there is one technology that have had an impact  on my coding then it would be Linq. Things that where a pain to do like parsing an XML file and...

This weeks linklist

Posted Tuesday, December 16, 2008 1:28 AM | Feedback (1), Filed Under .NET C# developement jQuery Links Web

This list I got from Elijah Manor, thanks! jQuery for Absolute Beginners: Video Series Hide your Design Decisions with Abstract Data Types Secure File Download Area using IIS 6.0 and IIS 7.0 Create an Amazon Books Widget with jQuery and XML And one of my favorites John Sheehan's .NET Cheat Sheets, I've posted this one in our companies blog.

This weeks linklist

Posted Tuesday, December 16, 2008 1:28 AM | Feedback (1), Filed Under .NET C# developement jQuery Links Web

This list I got from Elijah Manor, thanks! jQuery for Absolute Beginners: Video Series Hide your Design Decisions with Abstract Data Types Secure File Download Area using IIS 6.0 and IIS 7.0 Create an Amazon Books Widget with jQuery and XML And one of my favorites John Sheehan's .NET Cheat Sheets, I've posted this one in our companies blog.