What you want to see on DotNetFunda.com ?
Go to DotNetFunda.com
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 25431 |  Welcome, Guest!   Register  Login
Home > Tutorials > ASP.NET Tutorials > LoginView

Silverlight Tutorials | Report a Bug in the Tutorial
Found interesting? Add this to:


asp:LoginView control
LoginView control is very simple yet very powerful and customizable. It allows user to customize its view for both anonymous user and logged in user.
 
LoginView control is very simple yet very powerful and customizable. It allows user to customize its view for both anonymous user and logged in user. 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 download Project 1.
                    
// 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 | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 12:01:35 PM