RadEditor for ASP.NET

RadEditor Send comments on this topic.
MaxMediaSize Property
See Also 
Telerik.WebControls Namespace > RadEditor Class : MaxMediaSize Property


Gets or sets the maximum file size in bytes allowed for uploading with the Media Manager dialog.   

 

Namespace: Telerik.WebControls
Assembly: RadEditor (in RadEditor.dll)

Syntax

Visual Basic (Declaration) 
Public Property MaxMediaSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As RadEditor
Dim value As Integer
 
instance.MaxMediaSize = value
 
value = instance.MaxMediaSize
C# 
public int MaxMediaSize {get; set;}

Return Value

The maximum file size in bytes allowed for uploading with the Media Manager dialog. The default value is 5242880 bytes.

Remarks

This value must be less than the maxRequestLength setting in the application's web.config or machine.config files. The default maxRequestLength is 4096kB.

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also