Current location: Hot Scripts Forums » Programming Languages » ASP.NET » [SOLVED] Open files outside browser


[SOLVED] Open files outside browser

Reply
  #1 (permalink)  
Old 06-19-08, 09:20 AM
mariowowo mariowowo is offline
Newbie Coder
 
Join Date: Jun 2008
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Open files outside browser

Hi,

got a <asp:menu> and links to word and excel files. If you click on any of then it will be opened into the browser itself. What I want is the file to be opened outside the browser. Is it posible??
when I create the menu child node I do this:
Code:
MenuItem oMenuItem5 = new MenuItem("Implementation", "5", "", "~/WordFile.doc");
Thanks....
Reply With Quote
  #2 (permalink)  
Old 06-19-08, 09:38 AM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
You don't have any control over that, since it all depends on how the user's browser settings are. Some users will have it set to open word files directly, while others have it set to open in the browser. There is no way to control that from the ASP.NET end.


Pete
__________________

Last edited by digioz; 06-19-08 at 09:41 AM.
Reply With Quote
  #3 (permalink)  
Old 06-19-08, 09:41 AM
mariowowo mariowowo is offline
Newbie Coder
 
Join Date: Jun 2008
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digioz View Post
You don't have any control over that, since it all depends on how the user's settings are. Some users will have it set to open word files directly, while others have it set to open in the browser. There is no way to control that from the ASP.NET end.


Pete
OK. thanks a lot.-
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JS script not working properly on IE but working on Firefox!!! sujata_ghosh JavaScript 4 05-21-07 05:46 AM
any suggestion...open another browser? aspuser25 ASP 4 08-25-04 12:59 AM


All times are GMT -5. The time now is 02:37 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.