asp.net - 如何在创建用户向导按钮中添加目标页面 URL?

标签 asp.net .net createuserwizard

我正在尝试在asp.net中自定义创建用户向导控件。它的作用是在创建用户后将我重定向到继续页面,但我希望在创建页面后显示自定义页面......我该怎么办?

最佳答案

句柄CreatedUser事件,然后Response.Redirect()

或者使用控件的 properties :

ContinueDestinationPageUrl Gets or sets the URL of the page that the user will see after clicking the Continue button on the success page.

FinishDestinationPageUrl Gets or sets the URL that the user is redirected to when they click the Finish button.

关于asp.net - 如何在创建用户向导按钮中添加目标页面 URL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14785532/

相关文章:

c# - 向 'CreateUserWizard' 添加角色

javascript - 使用 JavaScript 设置的值不会保留在回发中

c# - 如何使用 C#.Net 检索我的公共(public) IP 地址?

.net - 如果抛出异常的对象是在事件处理程序中创建的,则全局事件处理程序没有详细信息

c# - WPF:关闭后无法重用窗口

.net - VS2008 - 为版本号添加字母(即 1.1.1.12-Dev)

c# - 创建用户向导 - 用户代码未处理空引用异常

.net - 从 Elmah 发送电子邮件?

c# - ASP.NET 应用程序中的日期时间验证