1
Full Viewport add padding at top, Max File Size Message
Question asked by Barclay Berger - 2/16/2017 at 10:11 AM
Answered
In previous version I had added margin-top to the Filemanager and it gave me room at top to add some text while utilizing fullviewport=true.  Not working for me in new version.  how can I add some padding at top for text and button?
 
also is there a way to set max upload size message or something if user selects a file over set size before uploading?

1 Reply

Reply to Thread
0
Cem Alacayir Replied
Employee Post Marked As Answer
You can do this reliably with some JavaScript:
 
.
.
.
<head runat="server">
<title></title>
<script type="text/javascript">

function fileManagerLoaded(sender, e) {
	var fileManager = sender;

	fileManager.insert(0, {
		xtype: "component",
		region: "north",
		contentEl: "pageHeader"
	});
}

</script>
</head>
.
.
.

<div id="pageHeader">My custom text...</div>

<GleamTech:FileManager ID="fileManager" runat="server" ClientLoaded="fileManagerLoaded" />
 

Reply to Thread