コード例 #1
0
        protected override void OnInit(EventArgs e)
        {
            WfControlHelperExt.InitWfControlPostBackErrorHandler(this.Page);
            base.OnInit(e);

            ExceptionHelper.TrueThrow(WfMoveToControl.Current != null && WfMoveToControl.Current != this,
                                      "不能在页面上创建两个WfMoveToControl");

            HttpContext.Current.Items["WfMoveToControl"] = this;

            if (Page.IsCallback)
            {
                EnsureChildControls();
            }
        }
コード例 #2
0
 protected override void OnInit(EventArgs e)
 {
     WfControlHelperExt.InitWfControlPostBackErrorHandler(this.Page);
     base.OnInit(e);
 }