I'm trying to create a template for the login control. I've got the default template from the SDK. I just added some text to test if the custom template gets loaded. Unfortunately I can't get it to work. I've copied the template from the SDK to a Templates directory in the root of my website. I've added a login control from the toolbox to the page. I've set the LayoutTemplatePath property to ~/Templates/LoginControl.ascx.
I'm obviously missing something here. What am I doing wrong?
I already tried restarting the site serveral times, but to no avail. Creating a new viewmap worked though. So thanks for the tip. It's even a better solution in my case as I don't have to set the template on each control in the solution.