Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Problems with PostBack and embedding word document

$
0
0

Hi this is what I havre to do any help would be much appreciated:

I have created a main merge document using Aspose.Words and now I have to do what is shown below:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Aspose.Words;

namespace WebApplicationTest
{
    public partial class DocumentView : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

             Page im using = ("C:\\Documents and Settings\\chris.faulkner\\My Documents\\TestFile Out.doc");
            
            if (IsPostBack)
            {
                //Document saved
                //save dosument back to  web server path



                
            }
            else
            {
                //Get Document from web server path
                //Diaply the documet on word editor embedde in this page
            }
        }
    }
}


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>