Loading ...

Setting the Login button text in the Banner user control

 /5
0 (0votes)

protected void Page_Load(object sender, EventArgs e)

{

    loginButton.Text = Page.User.Identity.IsAuthenticated ?

        "Logout" : "Login";

}

Comments (no comments yet)

Top Posts