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(); } }
protected override void OnInit(EventArgs e) { WfControlHelperExt.InitWfControlPostBackErrorHandler(this.Page); base.OnInit(e); }