思路话语

。Arlen:思想有多远你就能走多远...

弹出页关闭时调用主页方法

主页[此为用户控件TaskItemList1]中:

this.lbtAddSubFlow.Attributes["onclick"] = "openDialog2(300,200,'SubFlowNew.aspx?id="
     + this.RequestID +"','no');__doPostBack('TaskItemList1$lbPostBack', '');return false;";

private void lbPostBack_Click(object sender, System.EventArgs e)
  {
   BindTaskData();
  }

弹出页中:
this.btSave.Attributes["onclick"] = "window.returnValue='OK'; return true;";

posted on 2007-02-27 17:06  Arlen  阅读(255)  评论(0编辑  收藏  举报

导航