Quantcast
Channel: Allan Dahls blog - Programming
Browsing latest articles
Browse All 5 View Live

Image may be NSFW.
Clik here to view.

A limitation on Sandboxed solutions – Webpart properties

After having done some work with a sandboxed solution I encountered an unexpected limitation. It was an old Sharepoint 2007 solution that I was trying to upgrade to Sharepoint 2010, and in the process...

View Article


Image may be NSFW.
Clik here to view.

Sharepoint–Where is my Page object?

Trying to get a sandboxed solution I was once again amazed and baffled and trying to do a simple chore suddenly became impossible.When embedding javascript into a page I usually utilize the...

View Article


InvalidOperationException when setting track properties from a...

This is just a feature that I stumbled upon when I was updating my radio app I wanted to add an enhancement, so that when the radio was playing I wanted to display the current song on the lock screen...

View Article

The hidden performance hit when using Get Methods

There are many ways to write a loop when using C#. But when iterating you need to be very much aware of the data you are iterating. If you are not being taking good enough care of your code you may...

View Article

A matter of scopes (method paramaters versus class properties)

Defining variable names must be done carefully sometimes to prevent logical errors in your code. Just to provide and example of where things can go wrong you can see the following snippet. public class...

View Article

Browsing latest articles
Browse All 5 View Live