C# - Getting the DataKey from a datalist during the ItemDataBound event
5/28/2009 8:25:00 AM
Getting the DataKey of the current row during the ItemDataBound event can be accomplished in one line...

Read More...

Javascript - Simple timer function
3/27/2009 11:03:31 AM
This article shows how to make a simple javascript countdown function.

Read More...

ASP.NET - Adding Microsoft's AntiXss 3.0 library to your website.
3/18/2009 10:11:59 AM
With the growing concern of cross site scripting (xss) attacks Microsoft has released an encoding library to help secure ASP.NET web applications. Here's how to set it up.

Read More...

HTML/CSS - removing padding around page layout
2/26/2009 10:35:42 AM
I recently created a website that used a fairly standard div layout to center the content ( a 1024px width div). I noticed an approximate 5px padding on the top of the page even though I set the padding and margin properties of the div's to margin: 0 auto; and padding: 0;.

Read More...

ASP.NET - Using a link button without javascript.
1/13/2009 2:37:49 PM
The link button is a very useful control but relies on javascript to create the postback. In this brief article I'll show you how to use a button control instead of the link button and then use css to style it any way you want. This, of course, allows you to get the submit behavior without javascript being enabled.

Read More...

Questions...
Do you use Google Chrome?





Archived Polls