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.
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"));
| Date | Version | Notes |
| 06/04/2008 | 1.0.0.3 | Updated tooltip text to "kick it on DotNetKicks.com" |
| 27/03/2008 | 1.0.0.2 | Made html output standards compliant (prior to 1.0.0.2 the alt tag was missing if you used the DNKLink class) |
| 14/03/2008 | 1.0.0.1 | Added support for choosing colours |
| 13/03/2008 | 1.0.0.0 | Initial Build |