Hi all,
I'm in dire need of help here...
I'm using the CreateUserWizard to create a user in the membership system. However, I need to add information to another database table as well, and add the user to a role. It seems to not be triggering at all, thus not creating the user when I use onCreatedUser. I've included code below.
Any help would be greatly appreciated!
protected void newUser_CreatedUser(object sender, EventArgs e)
{
try
{
//Get values from form
string userName = ((TextBox)CreateUserStep0.ContentTemplateContainer.FindControl("UserName")).Text;
string firstName = ((TextBox)CreateUserStep0.ContentTemplateContainer.FindControl("FirstName")).Text;
string lastName = ((TextBox)CreateUserStep0.ContentTemplateContainer.FindControl("LastName")).Text;
string address1 = ((Tex ...
Go to the complete details ...