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.

Comments

Popular posts from this blog

C# Copy files from one server to another

Export SharePoint Online Group Users to Excel using Powershell

Suppress StyleCop SA1600