Archive for August, 2008

z-index in Internet Explorer 7

The z-index implementation in IE 7 can be troublesome when combined with elements that are relatively positioned. My problem occurred on my personal web site on which I have CSS drop down menus that I want to appear over an element with the position:relative declaration. The drop down menu would appear behind the relatively positioned [...]

Formatting columns in a GridView

Formatting columns in a GridView is relatively straightforward, once you know the appropriate format string.
Here are the steps if you are using Expression Web, Visual Studio, or Visual Web Developer:

Open the Task Pane of your GridView and select Edit Columns
In the Selected Fields Box, select the column you want to edit
Find the HTMLEncode property and [...]