Welcome on Kweetix Technical Blog

Tuesday, November 9, 2010

IIS 7.0 / 7.5 : Display detailed error messages

1. Select the site from IIS
2. Click "Error pages"
3. Select the error for which you want more details
4. Right click then "Edit feature settings"
5. Select detailed errors

Don't forget to reset after debugging.

IIS 7.0 / 7.5 : How to switch between the 32-bit versions and the 64-bit version of ASP.NET 2.0 on a 64-bit version of Windows

Basically, go into your IIS 7 manager console, find the application pool your app is running in, right-click on it, go to Advanced Settings, and change the Enable 32-bit Applications setting to true.
Now restart IIS.

Tuesday, November 2, 2010

JQuery selector for checked CheckBoxes in a repeater

<div class="checkGroup">
  <asp:Repeater ID="list" OnItemDataBound="OnPopulate" runat="server">
    <ItemTemplate>
      <asp:CheckBox ID="checkBox" runat="server" />
    </ItemTemplate>
  </asp:Repeater>
</div>

This will return all checked checkbox :

$(".checkGroup INPUT[type='checkbox']:checked")