Exemple #1
0
    public void LoadFileFromCustomizedUrl(string file)
    {
        string        path   = REDocumentControl.GetAbsolutePath(file);
        REWebDocument webDoc = REDocumentControl.CreateWebDocFromServer(path);

        MsgToClient = webDoc.MsgToClient;
    }
Exemple #2
0
    public void LoadFileFromOnline()
    {
        string        src    = Request.Form["src"];
        REWebDocument webDoc = REDocumentControl.CreateWebDocFromOnLine(src, "");

        REDocumentControl.ResponseToClient(webDoc.MsgToClient, Response);
    }
Exemple #3
0
    public void ProcessUserDefinedFileSave()
    {
        string savePath = REDocumentControl.GetSaveFileRelativePath(Request);

        //byte[] array = REDocumentControl.GetSaveFileByteArray(Request);
        //Stream stream = REDocumentControl.GetSaveFileStream(Request);
        REDocumentControl.ResponseToClient(savePath, Response);
    }
Exemple #4
0
    public void ProcessUserDefinedFileLoad()
    {
        string        fileName = Request.Form["FileName"];
        string        path     = REDocumentControl.GetAbsolutePath(fileName);
        REWebDocument webDoc   = REDocumentControl.CreateWebDocFromServer(path);

        REDocumentControl.ResponseToClient(webDoc.MsgToClient, Response);
    }
Exemple #5
0
    public void LoadFileFromPublicAccessibleUrl(string src)
    {
        REWebDocument webDoc = REDocumentControl.CreateWebDocFromOnLine(src, "");

        MsgToClient = webDoc.MsgToClient;
    }
Exemple #6
0
    public void LoadFileFromUpload()
    {
        REWebDocument webDoc = REDocumentControl.CreateWebDocFromUpload(Request);

        REDocumentControl.ResponseToClient(webDoc.MsgToClient, Response);
    }