Avatar of uconnfb13
uconnfb13
 asked on

Best Practice: Viewing documents stored on a server in a web application

Hello All,

I currently have Excel/Word/Text files saved on a remote server that I would like to run my web application on.  What are best practices for viewing the files as a user of the web application?  If possible, I would like to do so without saving the files locally.  If anybody could provide help it would be greatly appreciated.
.NET ProgrammingASP.NETC#

Avatar of undefined
Last Comment
Jens Fiederer

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jens Fiederer

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jens Fiederer

Note that for this to work for Excel or Word, the clients will need to have Excel or Word (or some other app able to read them) installed locally.
uconnfb13

ASKER
Thank you for the replies.  Is there something more that I need to do other than pasting in that C# snippet with the appropriate file path?  When I do so nothing happens.  No error, but nothing happens at all.

Thanks.
Jens Fiederer

Where are you pasting it?

The snippet was copied from actual working code, but context might matter.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
uconnfb13

ASKER
Your solution worked.  The issue ended up being with the Update Panel on the page.  Thank you.
Jens Fiederer

My pleasure