A LoginName control designed for mobile web browsers.

Namespace: FiftyOne.Framework.Mobile.Controls
Assembly: FiftyOne.Framework (in FiftyOne.Framework.dll) Version: 2.0.2.1 (2.0.2.1)

Syntax

C#
[ToolboxBitmapAttribute("FiftyOne.Framework.Mobile.Controls.LoginName")]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class LoginName : LoginName, IStyle, 
	IUrlResolutionService, ICssIncludeGroup
Visual Basic
<ToolboxBitmapAttribute("FiftyOne.Framework.Mobile.Controls.LoginName")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class LoginName _
	Inherits LoginName _
	Implements IStyle, IUrlResolutionService, ICssIncludeGroup
Visual C++
[ToolboxBitmapAttribute(L"FiftyOne.Framework.Mobile.Controls.LoginName")]
[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class LoginName : public LoginName, 
	IStyle, IUrlResolutionService, ICssIncludeGroup

Examples

The following code example shows how to use the LoginName class on a page. Clicking the button changes the display format.

CopyXML
<mob:LoginName id="LoginName1" runat="server" FormatString="Welcome, {0}" />
<mob:Button id="Button1" onclick="Button1_Click" runat="server" Text="Change Format" />
CopyC#
protected void Button1_Click(Object sender, EventArgs e) 
{
   LoginName1.FormatString = "Welcome to our Web site, {0}";
   Button1.Visible = false;
}

Inheritance Hierarchy

System..::..Object
  System.Web.UI..::..Control
    System.Web.UI.WebControls..::..WebControl
      System.Web.UI.WebControls..::..LoginName
        FiftyOne.Framework.Mobile.Controls..::..LoginName

See Also