弹出一个窗口,操作数据库,完了,之后 再回到原来页面:
function editAction(id){
document.getElementById("frame1").src = "../Shared/Dialog/DialogCreateAction.aspx?action=modify&actionid="+id;
}
var js=parent.redirect();
public static void RegisterJs(string js)
{
string str = "<script type=\"text/javascript\">"+js+"</script>";
HttpContext.Current.Response.Write(str);
HttpContext.Current.Response.End();
}
function editAction(id){
document.getElementById("frame1").src = "../Shared/Dialog/DialogCreateAction.aspx?action=modify&actionid="+id;
}
var js=parent.redirect();
public static void RegisterJs(string js)
{
string str = "<script type=\"text/javascript\">"+js+"</script>";
HttpContext.Current.Response.Write(str);
HttpContext.Current.Response.End();
}