Copy and Paste this javascript function to .aspx page:
<script type="text/javascript" language="javascript">
//for Redirect Iframe
function Redirect() {
top.location = "Checkout.aspx";
}
</script>
Then Copy and Paste it to .cs page:
ScriptManager.RegisterStartupScript(Page, typeof(System.Web.UI.Page),
"click", @"<script type='text/javascript'>Redirect();</script>", false);
<script type="text/javascript" language="javascript">
//for Redirect Iframe
function Redirect() {
top.location = "Checkout.aspx";
}
</script>
Then Copy and Paste it to .cs page:
ScriptManager.RegisterStartupScript(Page, typeof(System.Web.UI.Page),
"click", @"<script type='text/javascript'>Redirect();</script>", false);
No comments:
Post a Comment