在 CreateUserWizardStep 和 CompleteWizardStep 之后添加(到 CreateUserWizard 控件)附加向导步骤,但它们不会显示
我想在 CreateUserWizardStep 和 CompleteWizardStep 之后添加(到 CreateUserWizard 控件)额外的向导步骤,但是当单击 CompleteWizardStep 中的 ContinueButton 时,没有任何反应,而不是转发到下一个向导步骤! 我究竟做错了什么?
感谢
编辑:
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
oncreateduser="CreateUserWizard1_CreatedUser">
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
</asp:CompleteWizardStep>
<asp:WizardStep StepType="Finish">
uh
</asp:WizardStep>
</WizardSteps>
</asp:CreateUserWizard>
I'd like to add ( to CreateUserWizard control ) additional wizard steps after CreateUserWizardStep and CompleteWizardStep, but when clicking on ContinueButton in CompleteWizardStep, instead of being forwarded to next wizard step, nothing happens! What am i doing wrong?
thanx
EDIT:
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
oncreateduser="CreateUserWizard1_CreatedUser">
<WizardSteps>
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
</asp:CompleteWizardStep>
<asp:WizardStep StepType="Finish">
uh
</asp:WizardStep>
</WizardSteps>
</asp:CreateUserWizard>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否在控件中编辑了中间向导步骤的模板。 您还必须告诉中间步骤何时并显示转到上一步和下一步。 你能在这种情况下写一些代码吗? 您的 createuserwizrd 控件的标记?
Have you edited the Template of the intermdiate wizrd step in your Control. You must also tell the intermediate step about when and show to go to previous step and next step. Can you put some code in this case ? mark-up of your createuserwizrd control ?
如果您希望调用
asp:WizardStep
,则必须在asp:CompleteWizardStep
中使用
并放置下一步按钮在那里 - 然后它将调用您的asp:WizardStep
If you want your
asp:WizardStep
to be called you have to use the<CustomNavigationTemplate>
in yourasp:CompleteWizardStep
and put the next button in there - it will then call yourasp:WizardStep