aspxtreme

Login Control Syntax

ASP.NET Syntax   ASP.NET Syntax for Web Controls


Provides user interface elements to log on to a Web site.

Declarative Syntax

For information on the individual members of this class, see Login in the class library.

Remarks

The Login control is a composite control that provides all the common user interface elements that are needed to authenticate a user on a Web site.

Syntax Example

The following example demonstrates how to use a Login control to provide a user interface to log on to a Web site.

<asp:login id="Login1" runat="server" 
   borderstyle = "outset" 
   backcolor = "ghostwhite" 
   borderwidth = "1px"
   createusertext = "Create a new user..."
   createuserurl = "newUser.aspx" 
   helppageurl = "help.aspx"
   passwordrecoveryurl = "getPass.aspx" 
   usernamelabeltext = "E-mail address:" 
   onloggingin = "onLoggingIn"
   onloginerror = "onLoginError">

   <titletextstyle font-bold
      forecolor = "snow" 
      backcolor = "steelblue" />

</asp:login>
See Also

Login Class   Login Web Server Control



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme