By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,885 Members | 1,474 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,885 IT Pros & Developers. It's quick & easy.

Link button

P: n/a
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

Feb 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"JJ" <jj****@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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

Feb 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.