473,698 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Avoiding the automatic creation of a user in the CreateUserWizar d

I am trying, as I can see many are, to avoid the CreateUserWizar d's
CreateUser step from creating the user until I am ready to do it. I have a
rather complex registration because I have various different types of
registration, one for organizations (in which they provide alot of profile
data on their organization) and individuals. I would like to share the
CreateUser page of the CreateUserWizar d but not allow it to create the actual
user. I tried handling the CreatingUser event and set its
LoginCancelEven tArgs.Cancel property to true. That seemed to work but I
cannot get it to move to the next page in the wizard. I have code in the
NextButtonClick ed event that does fire after the CreatingUser event fires
that does a CreateUserWizar d.ActiveStepInd ex = (my next wizard step). This
code goes through but at runtime, the wizard never leaves the CreatingUser
page and go onto my profile pages. I dont want to have to display it last
cause that is tacky. Any ideas?
Nov 19 '05 #1
1 5240

I came across your question as I was having what appears to be the exact
same problem and I see you raised this question some time ago but
thought it may still be of some value to you.

This is what I fixed it for me.

When you set e.Cancel = True in the CreatingUser event the value of
cancel is still set to true in the NextButtonClick event so I had to
add e.Cancel = False in this event and I am now able to get to step 2.

Can't tell you why though :confused:

Hope this helps.
--
stiven
------------------------------------------------------------------------
stiven's Profile: http://www.highdots.com/forums/m1648
View this thread: http://www.highdots.com/forums/t675431

Dec 29 '05 #2

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

Similar topics

1
1219
by: Phino | last post by:
Hi there, I need some help in order to reduce the amount of code needed to implement the logging of INSERT and UPDATE in my application's database. In every table of my database I have four fields (CreatedBy, CreatedTime, ModifiedBy, ModificatedTime), these fields allow me to trace the users who create and modify the registers in my application. I know that I can add in every stored procedure a piece of code who
0
960
by: Lloyd Dupont | last post by:
how to create inactive user which became active only once the user has clicked a link receive by mail? I use the CreateUserWizard but I confess all the authentication, creation, login, profile processes of users are quite mysterious to me, it just kind of works. Anyon could give me any tip, advice, link, on how to customize the <asp:CreateUserWizard> to have the creation completed only after replying/clicking on a link in a...
2
1535
by: Rob Richardson | last post by:
Greetings! It seems to me that there is room for a lot of improvement in automatic generation of database objects. If I create a data adapter from a table shown in the Server Explorer, I get Select, Insert, Update, and Delete commands, not all of which may be necessary. I don't have any control over command names or parameter names. If all I am going to be doing is inserting data into a table, I don't even need a data adapter. All I...
0
920
by: Max | last post by:
I've created my forms through the Wizard. The first goes well, but the others when I click on add record increase the record counter but the record is not really added, in fact I can't reach or edit the new record. If I click on Update all, the on reload the record doesn't exist. Someone has had a similar problem? Max
0
1764
by: Babbage | last post by:
a login page login.aspx from there you can go to createaccount.aspx Ive got a createuserwizard on that create account page. It includes the following properties continuedestinationpageurl = "~/home.aspx"
0
1620
by: Nehpets | last post by:
I'm trying to setup a web site that uses active directory for user authentication under asp.net 2.0. For testing, I have separately installed two virtual servers. The first is a domain controller in a new forest named VSERVER00 running Windows Server 2003 R2 Standard. The second is an application server running IIS in the same domain, named VSERVER01 also running Windows Server 2003 R2 Standard. The domain is VDOMAIN.local. I have...
0
2594
by: Smokey Grindle | last post by:
I am using the user creation wizard in asp.net 2.0 and using it to send the user an email message when their account is created, well this works great if the address is a valid mailbox, but when it is not it throws an exception (shown below) how do i prevent this? Description: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Net.Mail.SmtpFailedRecipientException: Mailbox...
6
1241
by: tina2626 | last post by:
i hv to increase my Database fields at runtime. Example: i am hving fields like 1.company name 2. account number. i hv to increase many account number for single company name. how can i dynamically increase the field ie.(account number field).
32
2034
by: Rafik | last post by:
I seem to have solved the problem of pop up reminder but still need some help with automatically creating records once a tick box is clicked. My form is as follows CODE Key PROPERTY Address INSPECTION DATE Date INSPECTION DONE Yes/No tick box INSPECTION BY Lookup COMMENTS Memo
0
8668
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9152
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9014
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8855
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6515
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4358
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4612
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3037
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 we have to send another system

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.