views:

475

answers:

1

When using asp:login, asp:forgotpassword and asp:createuserwizard controls within an ascx. (e.g registration.ascx) it can't find e.g UserName, even tho it exists within LayoutTemplate. Any idea how to fix this?

+1  A: 
Myra
When using <asp:Login> inside the masterpage, I get no error. When inserting the <asp:login> inside a usercontrol inside an login.ascx, I get this:UserLogin: LayoutTemplate does not contain an IEditableTextControl with ID UserName for the username.
Viktor Larsson
Where do you get this error exactly?
Myra