ToolBox Login Control LoginStatus

LoginStatus Web Server Control

in ASP.NET environment,This article describes you how to work with LoginStatus Web Control.The LoginStatus control provide states of the Authentication Process.morevoer,Detects the user's authentication state and toggles the state of a link to log in to or log out of a Web site. This control contains two states as following,

  • logged in - when logged in to the server
  • logged out - when logged out to the server
To add a LoginStatus button in a page
  • in Design view,Add a LoginStatus control to your page.
  • Customize the text displayed in the button by setting the LoginText and LogoutText properties.
To add a login or logout images
  • Add a LoginStatus control to your page.
  • Set the LoginImageUrl and LogoutImageUrl to the URL of the image to display as login and logout images, respectively.
  • Optionally customize the alt text displayed for the image by setting the LoginText and LogoutText properties.
 
Related Links

Posted by: Admin
Posted on: 9/15/2009 at 4:57 PM
Tags: , ,
Categories: Asp.net
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (32) | Post RSSRSS comment feed