AjaxControlToolkit.AsyncFileUpload.CreateChildControls C# (CSharp) Метод

CreateChildControls() защищенный Метод

protected CreateChildControls ( ) : void
Результат void
        protected override void CreateChildControls()
        {
            PersistentStoreManager.Instance.ExtendedFileUploadGUID = Constants.fileUploadGUID;
            string sendingControlID = null;
            if(!IsDesignMode)
                sendingControlID = this.Page.Request.QueryString[Constants.FileUploadIDKey];

            if(IsDesignMode || String.IsNullOrEmpty(sendingControlID)) {
                this._hiddenFieldID = GenerateHtmlInputHiddenControl();
                string lastFileName = String.Empty;
                if(_persistFile) {
                    if(PersistentStoreManager.Instance.FileExists(this.ClientID))
                        lastFileName = PersistentStoreManager.Instance.GetFileName(this.ClientID);
                } else if(_postedFile != null) {
                    lastFileName = _postedFile.FileName;
                }
                GenerateHtmlInputFileControl(lastFileName);
            }
        }