I am using a rich text editor from Telerik in my application. I recently purchased your Words module and am now trying to load this editor with a file selected by using a fileupload control to locate the file to upload, an web button control to fire the upload event, and the ASPOSE Words engin to load the file to the editors content area.
So far this is what I have tried, but it does not load the formatted document. What it loads in the content area is the literal “Aspose.Words.Document”.
string filepath = WBSFileBrowse.PostedFile.FileName;
Document doc = new Document(filepath, Aspose.Words.LoadFormat.Doc, null);
WBSDecriptionEditor.Content = doc.ToString();
What am I doing wrong?? Could you provide an example??
Thanks