Go to DotNetFunda.com
<<= Please see left side tutorials menu.


Silverlight Tutorials | Report a Bug in the Tutorial

Found interesting? Add this to:

| More

asp:LoginName control
LoginName control is used to display current logged in user name.
 
LoginName control is used to display current logged in user name. If the user is not logged in, this page doesn't render any thing. This control gets the value by using Page.Identity.Name.

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

DEMO : LoginView Show Source Code
Login to see LoginName control demo
For working example, Please visit or Download.
                    
// LoginName Control ////////////////////////////          
<asp:LoginName ID="LoginName1" runat="server" FormatString="LoginName Demo: Welcome, {0}" ForeColor="Blue" BorderColor="ActiveBorder" BorderStyle="Double" />

                    




About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found 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. | 9/3/2010 4:11:00 AM