Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 01, 2012 06:51 PM by Saavik
Feb 28, 2012 08:26 PM|LINK
I have a CreateUserWizard on .aspx page - fairly straight forward.
When I enter values that I know show cause an error message to appear - they do not show. For example, enter a username that you know exists already - CreateUserWizard has built-in code to check for that; the user is obviously not created, but no error
message is showing.
This confuses my users when nothing happens and no error message.
Any ideas most appreciated!
Mar 01, 2012 07:26 AM|LINK
What I can say now is you need to debug the code behind for checking existed user to see if it works as you wish. Check whether you do the right way to check user, and tell the control to response the result.\
Mar 01, 2012 01:48 PM|LINK
If your CreateUserWizard is inside an UpdatePanel, that is the problem. UpdatePanel eats Exception pages.
I never worked with CreateUserWizard. But it should be possible to catch any Exception in an event handler. In that you can display a message the regular way. For instance by putting some Text on some Label. (inside the same UpdatePanel!)
Mar 01, 2012 06:51 PM|LINK
I think you have it.
I have also learned of the OnCreateError event, where a code is sent by CreateUserWizard that can be captured and a meaningful message sent to user.