Tag: ITemplate
-
LoadTemplate and the ASP.NET Login controls
Recently I was trying to programmatically load the templates for the PasswordRecovery control. I thought it should be pretty straightforward: Put the contents of the template in an ascx file Assign passwordRecovery.UserNameTemplate to Page.LoadTemplate(“MyUserNameTemplate.ascx”) Should be a piece of cake right? Wrong. If the template is put directly in the ASPX page all works as…