Saturday, 28 October 2006 11:22 by
mha
If you - like me - from time to time relocates a website from one server to another, you'll probably like to see which IP actually is requested. One of my students showed me ShowIP which shows the IP address in the statusbar.
I then started to look around for other nice web development AddOn's .. and came across a page which lists 10 great extensions for web development.
9a3c4a66-748e-499b-9c0b-1b296d1e5fb0|0|.0
Monday, 16 October 2006 17:59 by
mha
Ever wanted to have a different colour for the 'active' row in the GridView?
All you have to do is place the code below in the grids RowDataBound event. The code below asume we're using 'AlternatingRowStyle' to make the BackColor different for even/odd rows.
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.RowIndex % 2 == 0)
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#D8D8D8'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='#FFFFFF'");
} else
{
e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#D8D8D8'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='#F7F6F3'");
}
}
6259bcab-e7e8-42fc-a138-e373d229053e|0|.0
Friday, 6 October 2006 13:53 by
mha
Spambots crawl over websites looking for email addresses, when they find one they add it to their database for junk email. To make sure your e-mail is not found, use this little utility: http://www.mways.co.uk/prog/hidemail.php
f9ffa51f-05df-43e6-bb12-88dba04dbb61|0|.0