Archive for February, 2016

Indent Items in a Web Forms ListBox or Adding   to ListBox

Today I needed to create a listbox that had 3 levels of indent, with dynamic data. I didn’t want 3 columns but something like this: This is level1 with no indent This is level2 with indent This is level 3 with indent Using Listbox, if you add spaces they will just smash together because of […]

User.Identity.IsAuthenticated always False

After many hours and trying every example on the web, I finally found out why User.Identity.IsAuthenticated was always False. This was in the web.config: Remove the “remove name” line and User.Identity.IsAuthenticated will finally be True