473,499 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

where should definition for Event be on aspx page?

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">
Mar 4 '06 #1
1 1296
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>
"hazz" <ha**@sonic.net> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...
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
ou. -Greg

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

Mar 4 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6780
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only...
0
1322
by: Sam | last post by:
Hi, I have a class that receives a DataGrid control and populates it. However, I need to do an OnItemCreated event because if I'm missing data in a certain column, I display a HyperLink control...
29
15473
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
1
11534
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
6
2790
by: BookerW | last post by:
Ok interesting, on my local machine And i did not do a good job of keeping track of the exact order.... but on my local machine in which i have vis studio 2003 installed and IIS for win XP,...
5
15256
by: =?Utf-8?B?Um9sYW5kcGlzaA==?= | last post by:
Hi there, I'm using Web Developer Express 2005 in my ASP.NET learning. I tried creating a simple aspx page using "code-behind" approach. I noticed that protected void Page_Load event method...
2
2718
by: Michal Valent | last post by:
I would like to fire some custom server control event before Page_Load event like this (from the trace of an aspx page) : Trace Information Category Message From First(s) From Last(s) aspx.page...
3
7174
by: =?Utf-8?B?cGlja2VkYW5hbWU=?= | last post by:
I am so frustrated, as is USUAL using Visual Studio. NONE, NOOOOONE of my aspx files have associated designer.vb files available (And yes, they all have the .vb code behind files). All of my aspx...
6
1411
by: HillBilly | last post by:
One question I have not figured out is how to learn which event parameter list is supported by a control? EventArgs, CommandEventArgs, what?
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7007
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.