Quantcast
Channel: Off-Topic Posts (Do Not Post Here) forum
Viewing all articles
Browse latest Browse all 14169

Web Pop-up Child

$
0
0

Hi today i have the following problem, and i am unable to solve. 

I have a button (web) that has the following follows below (basically insert data , but this button a use a pop-up child. What I want is that when the run button after inserting the data close the popup window. 

.. A little help is welcome. 

Thank you very much.

protected void Criar_Fornecedor_Click(object sender, EventArgs e)
        {

            if (Page.IsValid)
            {
                try
                {
                    AddItemToListFornecedores(SPContext.Current.Web.CurrentUser);
                    string tempurl = currentsiteurl +"/Lists/EntidadesFornecedores/AllItems.aspx";
                    SPUtility.Redirect(tempurl, SPRedirectFlags.DoNotEndResponse, HttpContext.Current);
                }
                catch (Exception ex)
                {

                    throw new SPException(ex.Message);

                }
            }

        }


Nuno Silva


Viewing all articles
Browse latest Browse all 14169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>