Note: This is only relevant to clients who host their own website/intranet.
There are 2 places that this needs to be changed in order to allow larger uploads
The first can be found in the contenteditor.ascx file found within the root directory of the website (root = web folder)
**Note the text bold is what needs to change (values are in bytes)
<rade1:RadEditor ID="RadEditor1" runat="server" Style="height:auto;" ExternalDialogsPath="~/RadControls/EditorDialogs" BorderWidth="0" DialogParametersMode="Session"
ToolbarMode="Default" MaxMediaSize="10000000" MediaPaths="~/MultiMediaFiles" UploadMediaPaths="~/MultiMediaFiles"
MaxFlashSize="5000000" FlashPaths="~/MultiMediaFiles" EnableClientSerialize="false" NewLineBr="false"
UploadFlashPaths="~/MultiMediaFiles" ImagesPaths="~/Images/UserUploadedImages" Width="100%"
HasPermission="False" Language="en-AU" SaveInFile="False"
TemplatePaths="~/Images/EditorHTMLTemplates" UploadTemplatePaths="~/Images/EditorHTMLTemplates"
DeleteTemplatePaths="~/Images/EditorHTMLTemplates" ShowSubmitCancelButtons="False"
RemoveScripts="False" Skin="Telerik" EditModes="Design" ContentAreaCssFile="~/Include/CSS/EditorContentAreaStyles.css" ToolsWidth="600px" Enabled="false" OnClientCommandExecuting="OnClientCommandExecuting">
<MediaManager ViewPaths="~/MultiMediaFiles" UploadPaths="~/MultiMediaFiles" DeletePaths="~/MultiMediaFiles" MaxUploadFileSize="10000000" />
<FlashManager ViewPaths="~/MultiMediaFiles" UploadPaths="~/MultiMediaFiles" DeletePaths="~/MultiMediaFiles" MaxUploadFileSize="5000000" />
The final place to enable larger uploads is within the web.config file also found within the root directory of the website.
Put this under <system.web> tag within the web.config file
<httpRuntime maxRequestLength="102400" />
This will increase the file upload size through HTTP to 100MB (102400).
Paul Robinson | paulr@elcom.com.au
Helpdesk Administrator
Elcom Technology | Australian Technology Park | Sydney
t +612 9209 4468 f +612 9209 4423 | www.elcom.com.au
New at Elcom:
Training Manager.NET