/// ----------------------------------------------------------------------------- /// <summary> /// Creates the control contained within this control /// </summary> /// <history> /// [cnurse] 07/31/2006 created /// </history> /// ----------------------------------------------------------------------------- protected override void CreateChildControls() { //First clear the controls collection Controls.Clear(); //Create Table _fileControl = new DnnFilePicker { ID = string.Format("{0}FileControl", ID), FileFilter = FileFilter, FilePath = FilePath, Permissions = "ADD", UsePersonalFolder = true, ShowFolders = false, User = User }; //Add table to Control Controls.Add(_fileControl); base.CreateChildControls(); }
/// ----------------------------------------------------------------------------- /// <summary> /// Creates the control contained within this control /// </summary> /// <history> /// [cnurse] 07/31/2006 created /// </history> /// ----------------------------------------------------------------------------- protected override void CreateChildControls() { //First clear the controls collection Controls.Clear(); //Create Table _fileControl = new DnnFilePicker { ID = string.Format("{0}FileControl", ID), FileFilter = FileFilter, FilePath = FilePath, Permissions = "ADD", UsePersonalFolder = true, ShowFolders = false, User = User }; //Add table to Control Controls.Add(_fileControl); base.CreateChildControls(); }