I have a button on my Default.aspx which launches a 'Terms and Condtions' modal pop up window (popup1). I then have a button on the modal popup which launches another modal popup (popup2) over the top (page 2 of my terms and conditions).
I want to add a back button to modalpopup2 which closes popup2 and shows modalpopup1 so the user has the 'forward/back' option from popup2.
I've added 'ButtonBack' and tried...
protected void ButtonBack_Click(object sender, EventArgs e)
{
Popup1.Show();
}
But this just redirects back to my default.aspx. Any ideas on how to get around this with C# or maybe some javascript?
Thanks