We integrated a hi-performance ASP upload component - ASP Uploader into Rich Text Editor. ASP Uploader allows you to select and upload multiple files at once. It also supports client side validation of the file size/type before uploading.

ASP Uploader does not read the entire uploaded file into memory. It streams the data into a temporary file while the data is received. For this reason, you must specify a temporary file location. You should ensure that the Internet Guest Account has read/write permission to this specified folder.

You can easily specify the temporary file location by setting uploader's TempDirectory property:

// Register Editor component to your page   
<!-- #include file="richtexteditor/include_rte.asp" -->   
<html>   
<body>   
        <form id="form1" method="POST">   
            <%   
                // Create Editor instance and use Text property to load content into the RTE.  
                Set rte=new RichTextEditor   
                rte.Text="Type here"
                // Set a unique ID to Editor   
                rte.ID="Editor1"  
                // Set a temporary file location   
                rte.TempDirectory="/mytempfolder" 
                rte.MvcInit()        
                // Render Editor 
                Response.Write(rte.GetString())  
            %>  
        </form>   
</body>   
</html> 

If there is no temporary file location specified, RichTextEditor will use the system's temp folder.


Send feedback about this topic to CuteSoft. ©2003 - 2018 CuteSoft Components Inc. All rights reserved.