Tuesday, 26 July 2011

Web Application not loading debug symbol information

If a web application is not loading debug information check the build configuration settings. My project would not load symbols if compiled for x86. Renaming the bin directory and setting to compile for any CPU was a work around.

If anyone knows a solution to this to fix it properly please comment!

Friday, 22 July 2011

CSS3 Button generation

Here is a link to a good CSS 3 button generator:


Wednesday, 20 July 2011

Shrink DIV to content

To shrink a DIV to fit its contents use the following css

Tuesday, 19 July 2011

How to name the output filename of an msi installer project

Right click on the installer project and go to properties. There is an option on the properties page for "Output file name". You will need to change the file name for both debug, and release configurations.

Tuesday, 12 July 2011

GridView - Fire selected index changed on row click

If you want to be able to make the asp.net GridView fire the selected index changed event from any click in a row, then this can be achieved with the below code before the Page or Gridview is rendered.