Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  how to display a word document within dotnetnuke framework.
Previous Previous
 
Next Next
New Post 6/17/2008 11:50 AM
User is offline nix
16 posts
10th Ranked


how to display a word document within dotnetnuke framework. 

Hi,

I tried to display a word document within dotnetnuke framework, and I tried the below. But it didn't work. Can someone point out what did I do wrong? Thank you very much.

<asp:hyperlink ID="specLinkID1" ImageUrl="~/images/icon_detailview.gif" runat="server" NavigateUrl='<%# Bind("SPECIFICATION","/specs/{0}") %>'  ... />

 
New Post 6/17/2008 7:24 PM
User is offline nix
16 posts
10th Ranked


Re: how to display a word document within dotnetnuke framework. 

Sorry - please ignore the above question. It works... nothing's wrong with the link. I misunderstood the relative path to the root, not the portal, e.g. ~ points to the root, but not ~/Portals/0/...

To make it work, I have to include the whole path, e.g. ~/Portals/0/specs. My question is: how could I point my path to the portal, instead of the main root? Is there an API that I can use to link any document on anywhere on the harddrive? And how can I hide the path from the users? Currently, it shows http://localhost/MyWebSite/Portals/0/specs/spec001.doc on the footer upon hoovering over the link. For security reason, I would like to avoid showing the path upon hoovering on this link - how can I do that?

Thank you very much for sharing your knowledge.

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  how to display a word document within dotnetnuke framework.
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP