where should definition for Event be on aspx page?

H

hazz

Error 1 'ASP._createaccount_aspx' does not contain a definition for
'CreateUserWizard1_CreatedUser'
C:\asp.net\Source\Security\CreateAccount.aspx 12

below is the line in the CreateAccount.aspx that causes the error. Should
this handler reside in the code behind as referenced by
CodeFile="CreateAccount.aspx.cs" at the top of the aspx page?
Thank you. -Greg

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
ContinueDestinationPageUrl="CreateAccount.aspx"
OnCreatedUser="CreateUserWizard1_CreatedUser">
 
H

hazz

Not sure what to do with it yet but at least to stub it out....

<script runat="server">
void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
{
CreateUserWizardStep myStep = new CreateUserWizardStep();
}

</script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top