Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Jan 29, 2014 2:07 pm

Hi,
i am using "spire.doc_hotfix_4.1.25" dll. By using "document.SaveToFile(path)" i am saving my

file. For reading this file i follwing two ways . but two ways i am getting problem please

help me.
1) using "WordDocViewer()" the content is opened another browser.my need is that content is

need to display same page.how can i use it in same browser same tab.


2)for reading i am using below webclient() code.in this am getting table back ground colour

to black.because of this when ever i am selecting the table using mouse at that point only

data is visible other wise not getting.help for changing table back ground color black to

some thing else.

WebClient User = new WebClient();
Byte[] FileBuffer = User.DownloadData(@"D:\XmlCon\" + fname + ".Html");
if (FileBuffer != null)
{
Response.ContentType = "application/html";
Response.AddHeader("content-length", FileBuffer.Length.ToString());
Response.BinaryWrite(FileBuffer);
}

venkatesh.natukula@gmail.com
 
Posts: 2
Joined: Wed Jan 29, 2014 1:22 pm

Thu Jan 30, 2014 9:41 am

Hello,

Thanks for your inquiry.
Sorry that I don't understanding your issue well. Would you please provide us some screenshots or files to expound it?
Many thanks.

Have a nice day.
Best wishes,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Jan 30, 2014 10:11 am

thanks for attending call,

i am using document.SaveToFile() method to save the word file into html till this is excellent.
after the html code displaying using WordDocViewer() method. but i want to display the content in my convenient location in the same page.how can i control this method.

present this method open the new browser and displaying the html content there.
till you are not understanding give me contact number.

venkatesh.natukula@gmail.com
 
Posts: 2
Joined: Wed Jan 29, 2014 1:22 pm

Fri Jan 31, 2014 8:44 am

Hello,

Thanks for your further information.
I have known your issue. The issue is the related to the setting of your browser. Please try to find a related option in the setting.

Please tell us if you have any problem.

Best wishes,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Feb 03, 2014 8:29 am

Hi venkatesh.natukula,

I think the ContentType should be text/html, not application/html.
Please try:
Response.ContentType = "text/html";

If you still have this problem, please provide us the below detailed information, which may help us to reproduce your issue and offer the solution to you quickly.

1. Dll file list (name + version), for example:
Spire.Doc.dll v4.9.32.3040
Spire.License.dll v4.9.32.3040
Spire.Pdf.dll v2.8.86.3040

2. Operation System, for example:
Windows 7 Enterprise Edition SP1 x64
Regional and Language Options

3. Project can reproduce the issue
All code about this problem, a simple project which can reproduce this problem will be better.

4. Test Document or Test data
Please provide your test document to us if convenient, it may help us reproduce your issue quickly. We promise to keep your document confidential and we will not use it for any other purpose. Besides, you could also remove the security data of your document and then send it to us.

Thanks and Regards,
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

harry.support
 
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Fri Feb 07, 2014 7:53 am

Hello,

Has your issue been fixed? Could you please give us some feedback if convenient? Thank you.
If there are any questions, welcome to get it back to us.

Regards,
Benjamin
E-iceblue support team
User avatar

Benjamin Du
 
Posts: 82
Joined: Thu Jul 25, 2013 2:38 am

Wed Feb 12, 2014 8:00 am

Hello,

Have your issue been resolved? Could you please give us some feedback if convenient?
Thank you.
If you have any questions, welcome to tell us.

Regards,
Benjamin
E-iceblue support team
User avatar

Benjamin Du
 
Posts: 82
Joined: Thu Jul 25, 2013 2:38 am

Return to Spire.Doc