Click here to Skip to main content
16,018,496 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
please tell me how will i display images and documents in my page in asp.net , iam using online url to display the document

my url like this " http://vmelodemo:9090/dm-CompuServe/dm/welcome.jpg?cmd=readdoc1&id=3056&objid=4829&userid=0&ticket=4C75F20F77CCB090C8EAD0B0D09DC77E&mode=read&valid=20130325092639&transaction=-799316076[^] "

the " vmelodemo " is the server name.

How can i display the documents
Posted
Comments
bbirajdar 25-Mar-13 8:59am    
what documents ? word, excel, pdf ?

Marked as Incomplete
Darsh_Basha 25-Mar-13 9:20am    
@aspnet_regiis -i

all document ( word , powerpoint , pdf , iamges "jpg,png,tiff" )
bbirajdar 25-Mar-13 9:30am    
images can be displayed using <img .... html tag
bbirajdar 25-Mar-13 9:32am    
Word & powerpoint can be opened in the MS Office or compatible tools only. It needs that the clint should have installed these tools on his machine to view these files. These cannot be opened in webpage. As an alternative you can scrap the data and display them in the webpage.

1 solution

did i understand well ? you want to show a document (like PDF or Office file) in the body of a page and embeded in the asp page?

if yes , i think you need a Web app (Like SharePoint or office 365[^] Web App)

for PDF , there are some solutions like these :
http://mb-seifollahi.ir/Public/Download.aspx?Item=90[^] OR
http://mb-seifollahi.ir/Public/Download.aspx?Item=101[^]
OR Embed PDFs into a Web Page with a Custom Control[^]

but you cannot show Office file in page inline...
Too , it's depend on your client Browser (IE Support ActievX to read file)
 
Share this answer
 
v2
Comments
Darsh_Basha 25-Mar-13 9:28am    
@mbsmbs

i want to use my url ,How can i do
bbirajdar 25-Mar-13 9:34am    
scrap the data from the documents and display them in html

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900