Go to DotNetFunda.com
 Online : 870 |  Welcome, Guest!   Login
 
<<= Please see left side tutorials menu.

  • Nominate yourself for "Agile Software Development using Scrum" online session for FREE, click here.

  • Download OOPS and ASP.NET Online training session video and PPT from here.


Silverlight Tutorials | Report a Bug in the Tutorial

Interesting?   Share and Bookmark this

asp:LoginStatus control
LoginStatus control is a very simple and compact control that displays either Login (if user is not nog logged in) or Logout (if user is logged in).
 
LoginStatus control is a very simple and compact control that displays either Login (if user is not nog logged in) or Logout (if user is logged in). When Login link is clicked, it automatredirects Internally, When it is rendered on the page, it is implemented through <table></table> HTML tag.

Its properties like BackColor, ForeColor, BorderColor, BorderStyle, BorderWidth, Height etc. are implemented through style properites of <table, tr, td/> tag.

DEMO : LoginView Show Source Code
Welcome, Guest Login For working example, Please visit or Download.
                    
// LoginView Control ////////////////////////////          
<asp:LoginView ID="LoginView1" runat="Server">
    <AnonymousTemplate>
        <span style="font-family: Arial; font-size: 10pt;">Welcome, Guest
            <asp:LoginStatus ID="LoginStatus1" runat="Server" />
        </span>
    </AnonymousTemplate>
    <LoggedInTemplate>
        Welcome,
        <asp:LoginName ID="LoginName1" runat="Server" />
        <asp:LoginStatus ID="LoginStatus1" runat="Server" />
    </LoggedInTemplate>

                    




About Us | The Team | Advertise | Contact Us | Feedback | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found copied contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)