I need to change the style and control using the asp: Login control button

Can I get the source and code behind the control so that I can manipulate it myself?

That way I can continue to use membership and have simplicity of functionality, but I can use my own controls.

I am sure this is a simple solution.

Thanks.

+5
source share
1 answer

You can use templates as described below for the Login control. Please note that you will need to provide your own validators, etc. If you do this, but you are allowed much more freedom :)

VS, " ", , .

<asp:Login ... >
    <LayoutTemplate>
        <asp:TextBox ID="UserName" ... /> ...
        <asp:TextBox ID="Password" ... /> ...
        <asp:Button ID="LoginButton" ... />
    </LayoutTemplate>
</asp:Login>
+8

All Articles