So, I had a GridView with a TemplateField. The TemplateField contained links that were used for deleting rows. I had set up Membership and Roles, and I only wanted users in the "admin" role to see these delete links, so I wrapped them in LoginView. However, when I did this, the links quit working. Today, I spent several hours searching for a solution to this problem, and I found lots of forum posts where other developers were having the same trouble, but none of the suggestions that were posted worked for me. They did give me some clues in the right direction, though. I just needed to simmer in it a little while, and sure enough, while watching The Story Of Us with my wife, the answer came to me. This article explains the problem in detail and how I solved it. More...