Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Question about Membership and CreateUserWizard Control in 2.0

Last post 07-19-2006, 9:34 AM by adnanjamil. 0 replies.
Sort Posts: Previous Next
  •  07-19-2006, 9:34 AM 19774

    Question about Membership and CreateUserWizard Control in 2.0


    I have customized the CreateUserWizard and added a drop down for users to select the already stored application names from database table. In CreateUserWizard_CreatingUser I set the application name by using belo code


    .ApplicationName = ((DropDownList)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("DropDownList1")).SelectedValue.ToString();

    Problem is, CreateUserWizard creates the user in aspnet_users table but with two different application name. One with  that user selected from drop down and one with application root name start with "/". Please let me guide, how could I create user only with the applicaiton name that user selected in dropdown.

    I have created a separate application setup screen for users to set any application and then used createuserwizard to setup new users for previously setup applications.

    Thanks in advance

View as RSS news feed in XML