RadEditor for ASP.NET

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


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

 

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

Syntax

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

Return Value

The maximum file size in bytes allowed for uploading with the Document Manager dialog. The default value is 512000 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