How to set Document as actual file path in DocumentViewerControl
Question asked by Ragesh MK - September 7 at 2:22 AM
Answered
Sir,
 
DocumentViewerControl accepts Document property as relative URL, But how can, the control open a file by absolute file path(physical path).

2 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post
Actually, DocumentViewerControl.Document property already accepts physical paths:
 
Gets or sets the document to load and display. This is usually the path to the document to load. Both physical (eg. c:\document.docx) and virtual (eg. /document.docx or ~/document.docx) paths are supported. 
0
Thank you very much

Reply to Thread