Link button

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

I have an app and on one page I have Link buttons that will fire up a
word doc or at least thats my goal. When someone clicks on a link
button I need to find a word doc on server where app resides. I was
then thinking that I would some how point the link to that word doc and
would open that word doc up in browser. I know how to find the file
coding in c# but not sure what command I should use to have the link
button fire up the word doc. How should I go about doing this. Maybe
there is a cleaner way to do this?

Thanks,
J
 
Is the word doc in the WWW area on the server, or is it outside of the site
somewhere? If it's in the WWW area, or setting up a virtual directory to
where it is is an option, just link to the document. If it's outside of the
WWW area, and you cannot setup a virtual directory, reply, and we'll show
you how to get it a feed it back to the browser.

As far as having the Word doc open in the browser, that's a client-side
setting that you cannot control. I may have Word docs set to open in the
browser, or may not. It's not anything that you can write server-side code
to control.

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top