tags:

views:

38

answers:

1

hi guys, I have a masterpage in which i have Loginname control.I have a link in masterpage which redirects to register.aspx which contains createuserwizard as follows. <%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPages/AdminMaster.Master" CodeBehind="Register.aspx.vb" Inherits="Architect.Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" 
    ContinueDestinationPageUrl="~/Login/Register.aspx">
    <WizardSteps>
        <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
        </asp:CreateUserWizardStep>
        <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
        </asp:CompleteWizardStep>
    </WizardSteps>
</asp:CreateUserWizard>
</asp:Content>

I have home.aspx page in which i login as administrator with username ram and loginname changes to ram.As admin i hve to create another user.So i create new user using createuserwizard(register.aspx).After creating user loginname changes from ram to username of new user.That i dont want.ram must exist.means loginname must be ram itself.What customization i hve to make to make loginname unchange .

A: 

The standard login controls are designed for self-registration, not for administration purposes. You've three choices, use the Web Site Admin Tool in VS2008, write your own user admin elements or buy/download on of the ASP.NET user admin functions that are out there.

Lazarus