I click a button in Article.aspx, after finished processing, I want it returnto another page previous page, SectionOver.aspx, and I also want it contains previous searching results.
asp.net
<asp:Button ID="btnSaveArticle" runat="server" Text="<%$ Resources:General, Action_Save %>" Width="100px" OnCommand="btnSaveArticle_Command" OnClientClick="return ConfirmSave(); " />
c#:
protected void btnSaveArticle_Command(object sender, CommandEventArgs e){
saveArticleProcess(e.CommandArgument.ToString(), "Save");
btnCancel_Command(null, null);
}
protected void btnCancel_Command(object sender, CommandEventArgs e)
{
if (IsPostBack)
{
btnUnlock_Click(null, null);
Response.Redirect("SectionOverview.aspx");
ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "_ReloadPage", "closeWindowevent()", true);
}
}
it can back to previous page, but that is a page, it does not contain previous searching results.