点击后,执行WF/Do.aspx.cs
抛异常,好像是找不到页面
中的代码
case "UnSend": // 执行撤消发送。
try
{
this.Response.Redirect("./WorkOpt/UnSend.aspx?WorkID=" + this.WorkID, true);
return;
//string str1= BP.WF.Dev2Interface.Flow_DoUnSend(this.FK_Flow, this.WorkID);
//this.Session["info"] = str1;
//this.Response.Redirect("MyFlowInfo" + this.PageID + ".aspx?FK_Flow=" + this.FK_Flow + "&WorkID=" + this.WorkID, false);
//return;
}
catch (Exception ex)
{
this.Session["info"] = "@执行撤消失败。@失败信息" + ex.Message;
this.Alert(ex.Message);
//this.WinCloseWithMsg(ex.Message);
this.Response.Redirect("MyFlowInfo" + this.PageID + ".aspx?FK_Flow=" + this.FK_Flow + "&WorkID=" + this.WorkID + "&FK_Type=warning", false);
return;
}
抛异常,好像是找不到页面
将
this.Response.Redirect("./WorkOpt/UnSend.aspx?WorkID=" + this.WorkID, true);
修改成
this.Response.Redirect("/WF/MyFlowInfo.aspx?DoType=UnSend&WorkID=" + this.WorkID + "&FK_Flow=" + this.FK_Flow,false);
可以正常执行了