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