Hi,
I got this Div:
<div id="loggedoutDiv" runat="server">
that contain my LogonControl an more stuff...
I want that when user loggedOn to my site,
it will not display, So I tried this (in Authenticate Event):
if (Membership.ValidateUser(Login1.UserName, Login1.Password))
{
loggedoutDiv.Visible = false;
e.Authenticated = true;
}
else
{
loggedoutDiv.Visible = true;
e.Authenticated = false;
}But this is not working,the Div is desplay all time even after I log to site.What to change?how to fix it?
Go to the complete details ...