IIS 6 versus IIS 7 dialog comparison

I was looking for the "Change Execute Permissions" in IIS 7. In IIS 6 you would go to Web site > Properties > Home Directory Tab: But I could not find it in IIS 7. I found the solution on http://msmvps.com/blogs/bernard/archive/2007/08/12/website-property-page-mapping-between-iis-6-and-iis-7.aspx Features View pane – Handler Mappings – Edit Feature …

Paging a ASP .NET 2.0 GridView with a LLBLGEN datasource

If you want to allow paging in a ASP .NET 2.0 GridView that uses a LLBLGEN datasource: – set AllowPaging = True – Create the PageIndexChanging event /// <summary> /// Change the page of the GridViewKlanten /// </summary> /// <param name=”sender”></param> /// <param name=”e”></param> protected void GridViewKlanten_PageIndexChanging(object sender, GridViewPageEventArgs e) …

Setting the GridView PagerStyle height in ASP .NET 2.0 with C#

When you set the PagerStyle Height property this will no allways set the correct height of the PageStyle. <asp:GridView ID=”Test”> <PagerStyle Height=”10px” /> </asp:GridView> To set the correct height use a CSS class: <asp:GridView ID=”Test”> <PagerStyle CssClass=”PagerStyle” /> </asp:GridView> In you’re CSS file add: TR.PagerStyle TD { height: 10px; margin: …

Delete IIS6 or IIS7 virtual directory on a website with hostheader, with C# and NANT

using System; using System.DirectoryServices; using System.Globalization; using Ada.Configurator.Common; using NAnt.Core.Attributes; using NAnt.Core; namespace AdaNantTasks { /// <summary> /// Delete an IIS virtual directory on a website with a hostheader. /// </summary> [TaskName(“deleteVirtualDirectoryTask”)] public class DeleteVirtualDirectoryTask : Task { public NantLogger logger = new NantLogger(); public string VirDirSchemaName = “IIsWebVirtualDir”; private …