DotNetKicks Button

This class adds either a DotNetKicks image with your "Kick count" or a hyperlink to DotNetKicks.com with the "kick count" for the specified url.

Application reference »
Email Image
How do i use it?
Firstly, download and add a reference to the DotNetKicks.Com.dll
using DotNetKicks.Com;
You can then either add a static "Kick It" image:
Page.Controls.Add(new DNKImage(Request.Url.AbsoluteUri));
Or you can add the "Kick It" image as a hyperlink to the dnk page for the supplied url.
Page.Controls.Add(new DNKLink(Request.Url.AbsoluteUri));
This class was designed so that you supply the Url you want to kick for each instance of the class, you can have multiple "Kick It" buttons on a single page.

Custom Colours
You can provide Hex codes for the 5 parts of the icon when instantiating either of the objects.
Page.Controls.Add(new DNKLink(Request.Url.AbsoluteUri, "FFFFFF", "CCCCCC", "FFFFFF", "CCCCCC", "E3DFDE"));

Version History
DateVersionNotes
06/04/20081.0.0.3Updated tooltip text to "kick it on DotNetKicks.com"
27/03/20081.0.0.2Made html output standards compliant
(prior to 1.0.0.2 the alt tag was missing if you used the DNKLink class)
14/03/20081.0.0.1Added support for choosing colours
13/03/20081.0.0.0Initial Build