SharePoint Redirection from Pop Up
Redirect to any page from SharePoint PopUp:
on continue button click event code:
string script = string.Format("window.frameElement.navigateParent('{0}');", SPHttpUtility.EcmaScriptStringLiteralEncode("Home.aspx"));
Page.ClientScript.RegisterStartupScript(Page.GetType(), "redirectToPage", script, true);
After this it'll redirect at "Home" page.
on continue button click event code:
string script = string.Format("window.frameElement.navigateParent('{0}');", SPHttpUtility.EcmaScriptStringLiteralEncode("Home.aspx"));
Page.ClientScript.RegisterStartupScript(Page.GetType(), "redirectToPage", script, true);
After this it'll redirect at "Home" page.
Comments
Post a Comment