Hi,
I have a log out button. All it does, is calls a signout function and redirects to login page.
public void btnLogout_Click(object sender, EventArgs e)
{
FormsAuthentication.SignOut();
Response.Redirect("~/Login.aspx");
}
What I want to do is when I press the logout button it give a pop up message in JavaScript that asks "Would you like to fill out a survey", if the answer is yes, redirect them to another page (where they will fill the questions), if the answer is NO, do
a simple sql statement and call the SignOut() function.
Any suggestions on how I can do that YES or NO pop up in JavaScrip code and call in in CodeBehind of the log out button?
Thank you
...
Go to the complete details ...