0

Enabling or disabling a validator control in javascript

Posted by Dan on July 21, 2011 in Development, Tutorials

Recently I had to have a form that had a requiredfieldvalidator that was supposed to validate only on certain conditions. I did not want the validator to validate its control (textbox B) unless textbox A had a value in it. I decided the best way to do this was to capture the keyup event of [...]

Tags: , , ,

 
0

Budapest Table Sorting Plugin

Posted by Dan on June 18, 2011 in Tutorials

Budapest is a jQuery plugin that allows for simple table sorting. It allows the developer to have full control over the sorting. Basic usage: $("table").budapest(); Advanced usage: $("table").budapest({ headers: { 0: { sortable: true}, 1: { sortable: true}, 2: { sortable: true} }, sortIndex: 2, sortDirection: "asc", onSort: function(index, val1, val2, direction){ //provide your own [...]

Tags: , ,

 
0

Rename objects in SQL Server

Posted by Dan on November 23, 2010 in Development, Tutorials

Recently I had to rename some columns and a couple of tables in a database that I work on. Clearly I could go through SQL Server Management Studio and rename them, but I wanted something I could save to a script and run. Ladies and gentlemen, boys and girls, let me introduce a little stored [...]

Copyright © 2010-2012 Dan Appleyard All rights reserved.
Desk Mess Mirrored version 1.9 theme from BuyNowShop.com.

Load Times Plugin made by Cheap Web Hosting