Re: Export to Word
- From: Masudur <munnacs@xxxxxxxxx>
- Date: Wed, 27 Jun 2007 02:00:30 -0700
On Jun 27, 2:47 pm, eran...@xxxxxxxxx wrote:
Hi all,
I'm trying to export an aspx web page to ms-word.
I'm using this code to export the aspx page:
Response.AddHeader("content-disposition",
"attachment;filename=myFile.doc");
Response.ContentType = "application/vnd.ms-word";
The web page contains an hidden table (style="display:none"). this
table is not shown in the aspx web page.
The problem is, that the word 2003 application displays this table
although i've set it to display:none.
What can i do in order to work-around this problem, and hide the
table??
hi...
add runat attribute to that table... and in code behind file set that
table's visible property to false...
Masudur
.
- Follow-Ups:
- Re: Export to Word
- From: eranhef
- Re: Export to Word
- References:
- Export to Word
- From: eranhef
- Export to Word
- Prev by Date: Re: Ignoring the ASP.NET conventions...
- Next by Date: Re: asp:label mapping question
- Previous by thread: Export to Word
- Next by thread: Re: Export to Word
- Index(es):