AjaxControlToolkit.ScriptControlBase.OnPreRender C# (CSharp) Method

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);

            EnsureID();
            EnsureScriptManager();

            if(SupportsClientState) {
                ScriptManager.RegisterHiddenField(this, ClientStateFieldID, SaveClientState());

                Page.RegisterRequiresPostBack(this);
            }
        }