protected void Page_Load(object sender, EventArgs e) { FrameUrl = FileChoice.GetUrl(ext: FileUtility.InternalExtension[FileType.Document], successButton: FilesUCResource.ButtonCreate); LoaderHolder.Controls.Add(LoadControl(LoaderPage.Location)); DocumentUploader.Options.IsPopup = true; }
protected void Page_Load(object sender, EventArgs e) { FrameUrl = FileChoice.GetUrl(filterType: FilterType.FilesOnly, multiple: true, successButton: UserControlsCommonResource.AttachFiles); loaderHolder.Controls.Add(LoadControl(LoaderPage.Location)); _documentUploader.Options.IsPopup = true; InitScripts(); }
private void InitScripts() { FrameUrl = FileChoice.GetUrl(filterType: FilterType.FilesOnly, root: FolderType.Projects, multiple: true, successButton: UserControlsCommonResource.AttachFiles); loaderHolder.Controls.Add(LoadControl(LoaderPage.Location)); Page.RegisterStyle("~/Products/Projects/App_Themes/default/css/projectdocumentspopup.less") .RegisterBodyScripts("~/Products/Projects/js/projectdocumentspopup.js"); }