Posted on: 7/10/2013 1:31:38 PM | Views : 201

Hi,
first, sorry if this kind of problem ever asked and solved somewhere else, I couldn't found it.
I try to add role when registering a user.
But when I'm trying to add the user to the roles I always get an error message saying that the rolename is empty.
Here is my code, mostly taken from default register.aspx.
<asp:CreateUserWizard ID="RegisterUser" runat="server" EnableViewState="false" OnCreatedUser="RegisterUser_CreatedUser" DisplayCancelButton="True" LoginCreatedUser="False"> <LayoutTemplate> <asp:PlaceHolder ID="wizardStepPlaceholder" runat="server"></asp:PlaceHolder> <asp:PlaceHolder ID="navigationPlaceholder" runat="server"></asp:PlaceHolder> </LayoutTemplate> <WizardSteps> ...

Go to the complete details ...