i have a logout [link button] in master page and i want to show it once the user logs in.
I did this way
protected void LoginAction_Click(object sender, EventArgse)
{
LinkButton btnSignout = (LinkButton)Master.FindControl("btnLogout");
if (btnSignout != null)
{
btnSignout.visible=True;
}
Response.Redirect("home.aspx");
}
just add
LoginStatusinLoggedInTemplatecontrolLoggedInTemplatewill be visible when the user logged in