Just a quickie today: when working with Twitter Bootstrap tabs , like I am in my ASP.NET MVC 4 project, you might want to add Next and Previous buttons on the tabs to create something of a Wizard. Here’sa step by step overview of how I did this: Add an ID to all the ListItem elements that are used for...
Problem: Developing a generic class that maps datasets, datatables and datarows from a legacy system to my domain model, I ran into an issue. I wanted to call a generic method with a runtime type. Lets say the method looked like this: public string DoSomething<T>(string param). Because I use reflection...
Twitter Bootstrap is a... "Sleek, intuitive, and powerful front-end framework for faster and easier web development." One of the nice things in Bootstrap is you can use icons from Glyphicons . To use these, you can simply use this markup <i class="icon-fire"></i> get a...
When building an ASPapplication that generates Word documents, it was working fine on the local machine. A windows XP installation with Office 2007. When we deployed it to windows 2008 (64 bit) and Word 2007 we saw that Documents.Open returned null. Other than this, there are no exceptions. The code...
Saving a file from Silverlight using the SaveFileDialog , added in Silverlight 3, is easy. If you’re used to desktop development however, you might find yourself getting a SecurityException with the message ‘File operation not permitted. Access to path 'xxx' is denied.’. Here’s why: In desktop...
Here’s a quick Visual Studio tip for you… I frequently search for a specific text in my solution because I need to do something in all places where that text occurs. Today I found out how you can open all the files that are mentioned in the Find Results window. Search for the text you’re...
Just a small post to start the new year... and let it be a good one! When opening a XAML document in Visual Studio, it opens in split view by default. This might become annoying when you have a large XAML document, because all the content needs to be rendered before you can get some work done. Here’s...
Yesterday I remembered two Visual Studio options Sara Ford told about in a presentation of her I attended a while back. Changing them made me happy... :) Zero-impact projects When I have to test something real quick, I tend to create a new project in Visual Studio and scribble some code to test whatever...