Category: Programming

Bootstrap compatible asp.net radio button list

Bootstrap compatible asp.net radio button list

Recently I have had the requirement to make some of my asp.net controls ‘bootstrap compatible’ In this instance it has been asp.net’s radio button list that is causing me consternation! An inline bootstrap radio button list has the mark up of this: <div class="radio"> <label class="radio-inline"> <input type="radio" value="Ac" name="optArchive" […]

Javascript Dynamic Event

Javascript Dynamic Event

Javascript Dynamic Events / Javascript Custom Events I often asked myself: How do I create a custom event in javascript? Something I have been using for quite awhile now is my own custom event handler for javascript, it’s pretty simple compact and easy to use To use; just copy the […]

Using XSD/XML With LINQ; Serializing and Deserializing – Visual Studio .Net 4.0

Using XSD/XML With LINQ; Serializing and Deserializing – Visual Studio .Net 4.0

In this example i am using VS2010 with .Net 4.0 as the framework. The XML i am using is: <!–?xml version="1.0" encoding="utf-8"?–> File.html List.html Data.html A4 Located in VS2010, and most likely VS2008 is the CreateSchema option in the XML menu, this becomes available when editing XML documents. Using create […]

Copying Data Between/Within Tables in Sql

Copying Data Between/Within Tables in Sql

Simple method of copying data between tables or within the same table in SQL. The following can be used to copy data within its own table, altering fields as required: INSERT INTO Table1 ( [Some_Id], ,[Position] ,[Name] ,[Description] ,[LastAction] ) SELECT 954 as Some_Id, ,[Position] ,[Name] ,[Description] ,[LastAction] FROM Table1 […]

Dungeon Master Javascript

Dungeon Master Javascript

Could this be the height of my retro 80’s/90’s gaming obsession I hear you ask? Well quite possibly..probably not though. Dungeon Master Javascript is my version of the 80’s classic Dungeon Master By FTL Games. The entire ‘game’ is written in javascript and CSS, it should be CSS2 compliant but […]