C# 如何在同一页面上使用asp:Login和asp:CreateUserWizard 我想把两个ZURB基金会5.5.2模态放在同一个页面上。一个模式包含自定义的,另一个模式包含自定义的

C# 如何在同一页面上使用asp:Login和asp:CreateUserWizard 我想把两个ZURB基金会5.5.2模态放在同一个页面上。一个模式包含自定义的,另一个模式包含自定义的,c#,asp.net,user-controls,zurb-foundation-5,C#,Asp.net,User Controls,Zurb Foundation 5,为此,我创建了两个单独的用户控件。独立地,他们工作得很好。然而,当我试图将它们放在同一页面上时,我要么得到一个键错误,要么用户无法登录 问题是和都需要ID=“UserName”和ID=“Password” 在每个ASP元素标记的内部都有类似的自定义ASPX <asp:TextBox ID="UserName" runat="server" /> <asp:TextBox ID="Password" runat="server" TextMode="Password" /&

为此,我创建了两个单独的用户控件。独立地,他们工作得很好。然而,当我试图将它们放在同一页面上时,我要么得到一个
键错误
,要么用户无法登录

问题是
都需要
ID=“UserName”
ID=“Password”

在每个ASP元素标记的内部都有类似的自定义ASPX

<asp:TextBox ID="UserName" runat="server" />   
<asp:TextBox ID="Password" runat="server" TextMode="Password" />
我得到一个错误

LoginUserModal: LayoutTemplate does not contain an IEditableTextControl with ID Password for the password.
我对
做了同样的事情,我得到了

CreateUserWizard1: CreateUserWizardStep.ContentTemplate does not contain an IEditableTextControl with ID Password for the new password, this is required if AutoGeneratePassword = true.
我设置了
AutoGeneratePassword=“false”
,即使我将其设置为
false
,也会收到完全相同的错误消息

有没有关于如何更改这些ID的想法,或者其他解决问题的方法

CreateUserWizard1: CreateUserWizardStep.ContentTemplate does not contain an IEditableTextControl with ID Password for the new password, this is required if AutoGeneratePassword = true.