LoadTemplate – Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson Tips on .Net, SQL Server, Sharepoint & AI Tue, 30 Aug 2011 16:12:35 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.4 https://blogs.visigo.com/chriscoulson/wp-content/uploads/2011/02/chris_profile-150x150.jpg LoadTemplate – Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson 32 32 LoadTemplate and the ASP.NET Login controls https://blogs.visigo.com/chriscoulson/loadtemplate-and-the-asp-net-login-controls/ https://blogs.visigo.com/chriscoulson/loadtemplate-and-the-asp-net-login-controls/#respond Tue, 30 Aug 2011 16:12:35 +0000 http://blogs.visigo.com/chriscoulson/?p=50 Recently I was trying to programmatically load the templates for the PasswordRecovery control. I thought it should be pretty straightforward: Should be a piece of cake right? Wrong. If the template is put directly in the ASPX page all works as expected. If the same template is loaded using LoadTemplate, you’ll get an error like: After some sleuthing I realized the problem was in the way...

Source

]]>
https://blogs.visigo.com/chriscoulson/loadtemplate-and-the-asp-net-login-controls/feed/ 0