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

        MsgToClient = webDoc.MsgToClient;
    }
Example #2
0
    public void ProcessUserDefinedFileLoad()
    {
        string        fileName = Request.Form["FileName"];
        string        path     = REDocumentControl.GetAbsolutePath(fileName);
        REWebDocument webDoc   = REDocumentControl.CreateWebDocFromServer(path);

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