473,513 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to show a word document in a panel ?

Hi All,

I have created a asp.net page. In that page I have added a Panel. On button
click I need show a word document in that panel. Please let me know how to do
that. I don't want to open word document Separately rather I need to show
only in that panel.

Thanks in advance.

Harsha.
Jul 8 '08 #1
4 2685
I don't think there is a way to tell the browser to open only a particular
document in a browser window.

You can place an iframe instead of a panel and set its src attribute to the
document to load. But it will open the document in the iframe only if you
setup your computer to open all word documents in a browser window. This, on
its own, is not a trivial task and probably is not what you want.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Harsha" <Ha****@discussions.microsoft.comwrote in message
news:7B**********************************@microsof t.com...
Hi All,

I have created a asp.net page. In that page I have added a Panel. On
button
click I need show a word document in that panel. Please let me know how to
do
that. I don't want to open word document Separately rather I need to show
only in that panel.

Thanks in advance.

Harsha.

Jul 8 '08 #2
"Harsha" <Ha****@discussions.microsoft.comwrote in message
news:7B**********************************@microsof t.com...
I have created a asp.net page. In that page I have added a Panel. On
button
click I need show a word document in that panel. Please let me know how to
do
that. I don't want to open word document Separately rather I need to show
only in that panel.
There's no native way to do this. However, several 3rd-party utilities exist
which may meet your requirements - I can't recommend any of them...

http://www.officeocx.com/Word_ActiveX.htm
http://www.textcontrol.com/blog/permalink/2006061401/
http://www.google.co.uk/search?sourc...nt+viewer+Word
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 8 '08 #3
Would you make the distinction between can't recommend and won't recommend
as your words may imply what you did not intend to imply.
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
"Harsha" <Ha****@discussions.microsoft.comwrote in message
news:7B**********************************@microsof t.com...
>I have created a asp.net page. In that page I have added a Panel. On
button
click I need show a word document in that panel. Please let me know how
to do
that. I don't want to open word document Separately rather I need to show
only in that panel.

There's no native way to do this. However, several 3rd-party utilities
exist which may meet your requirements - I can't recommend any of them...

http://www.officeocx.com/Word_ActiveX.htm
http://www.textcontrol.com/blog/permalink/2006061401/
http://www.google.co.uk/search?sourc...nt+viewer+Word
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Jul 8 '08 #4
"clintonG" <so******@somewhere.comwrote in message
news:uZ**************@TK2MSFTNGP02.phx.gbl...

[top-posting recommended]
>I can't recommend any of them...

Would you make the distinction between can't recommend and won't recommend
as your words may imply what you did not intend to imply.
I can't recommend any of them because I haven't tried any of them.

Nor would I ever recommend ActiveX for ASP.NET...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 8 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3949
by: Adam Knight | last post by:
I am trying to create a word document via asp. I keep getting this error: Server object, ASP 0178 (0x80070005) The call to Server.CreateObject failed while checking permissions. Access is...
7
2504
by: Andy Davis | last post by:
I have a table of data in Access 2002 which is used as the source table for a mail merge document using Word 2002 on my clients PC. The data is transferred OK but I've noticed that any dates which...
0
1301
by: jkricka | last post by:
Hi! Can someone please explain me how to show/hide word toolbars? I'm oppening new word doc with follownig code. public class classWordDoc { private Word.ApplicationClass WordApp = new...
2
1142
by: Alejandra Parra | last post by:
Hi everyone Well, I'm trying to make an application where people can configurate a MS Word template from the application, and then that they can access to it also from the application. I've...
1
1547
by: Bob | last post by:
I have the follwing snippet of code, lets me find a document and then open it, but thw word application does not show up. I had similara to this in vb6 and it worked, but I can't get it to show...
1
1811
by: shapper | last post by:
Hello, I created an Asp:Repeater where I have an Asp:Panel and an Asp:Label. In each record of the repeater I want to have a small button which hides or shows the panel in that record. If...
17
8080
by: alxasa | last post by:
Hi, can someone please show me how to most elegently do this?..... I have a textbox, and I want to search the contents of it and replace all instances of a certain word, and replace that word...
0
7071
by: anuj13singhal | last post by:
Hi, I am trying to open a word document on the client machine. the document is present on the oracle application server (on windows). For that I have created a java class file wordbean.class....
7
5467
by: brynne | last post by:
I run a recruitment service for which, years ago, I set up an Access database to record details of job applications and run various mail merge functions including interview invitations, reference...
0
7171
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7388
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7545
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5095
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.